I solved it. In the lifecycle template you should mark it as the Advanced. Then
1. Select the lifecycle state you want to extend
2. On the Roles tab add the role you need to give permissions
3. On the Access Control tab select this role and add all permissions you need
4. On the Workflow tab in the Phase Process select the WF you need
4. Save template and reassign the lifecycle template for all documents you need to move by WF