worktree: update documentation for lock_reason and lock_reason_valid