Lock files through code

I can’t really find anything in the documentation about locking a file using the python sdk, or the plastic scm web api. I want to use it for stuff like batch operations.
Is it possible in any way?

best,

The “cm lock --help” command allowed the user to manage locks. It includes creating, removing and listing the locks. Please let us know if it helps.