It is possible to define that a document is moved within a transition in the lifecycle by a specific user.
From the transition of the state in which the movement restriction must be applied, in the lifecycle configuration, click on the “user” icon to indicate the field of the assigned user who must perform that transition.

In the new window, in the “Conditions” tab, you will find the “Manual Assignment” option, which will allow you to select a choice-type field, User subtype, so that the user selected in that field on the form can be responsible for performing the transition:

If a user attempts to move to the next state and is not the one selected in that field, they will not be able to change state and will receive a notice like the one shown below.
Example: If within a form there is an “assigned user” field and it has the field filled in with User A, if user B tries to make the state change, they will not be able to do it; only user A will be able to perform the transition.
You can also review the following article: Limit a transition so that it can only be executed by a user or a group of users