I have a workflow set up that is associated with a custom user list. Users can add, but also edit these items in a list. However, what I want to achieve its that users can edit an item in a list up until a task reaches a certain outcome (e.g. "submitted to user x"). If "submitted to user x" equals "yes", change permissions for item x.
How can this be achieved?