Locking and Unlocking Workflows

A workflow is locked under the following conditions: