Lock / prevent editing a document from an workflow

Hi

Is it possible to lock a document or prevent editing while entering a state in workflow?

kind regards
Ulli

Yes, using DataObjects Events

Great!
Thanks a lot.

Hi,
also possible directly in workflow configuration: https://pimcore.com/docs/6.x/Development_Documentation/Workflow_Management/Permissions.html

BR
Christian

Worked perfect!
Thanks a lot.