This is a paid feature.
Worktrees can be locked on creation and they can be locked / unlocked from Worktree view
Locked worktree it is exempt from pruning by git worktree prune