Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello
you can do that directly from the GUI.
If you want the lock to be at org level, you need to log as Org Admin, then go to preferences.
You can then select if the user (which can be the user or a context or the org),
if you select Org, then whatever you do in the preferences will cascade to any lower levels. You also have the option to lock and this will lock it up to the users level.
You can also be more selective and only authorise or lock particular user only.
Hope this helps
Best regards