In this question I figured out how to disable the Lock feature in Windows XP throught the registry. Just by creating a DWORD key named DisableLockWorkstation with value 1 in:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
But in this solution, the current user can also re-enable this feature in the same way (by setting the value of DisableLockWorkstation to 0 or even deleting it).
I know there is ACLs for registry and it is possible to restrict the user access and deny write access to this path. But I am searching for a simpler solution.
Is there any other solution to disable lock feature (for example by setting a value in HKLM instead of HKCU hive)?