If you want to prevent users using the Lock Computer button, or don’t want to do it yourself (perhaps you are used from it from work, and don’t want to do it at home) then this tutorial explains how to disable and prevent locking of the computer.
Running Windows 10? Use our Registry Editor!
Are you running Windows 10? Then why not use 10Tweaker? Developed by WindowsInstructed for tweaking your Windows experience without endangering your system. You can download it by clicking on the button below. It includes more than 100 tweaks!
DownloadThe Tweak
[symple_box color=”yellow” fade_in=”false” float=”center” text_align=”left” width=””] Registry Editing can be dangerous and should be done with care. Please make a restore point before editing your registry. If you have doubts about what you are doing, then stop immediately and ask for support in the comments. We would like to remind you that editing your registry is at your own risk. If done wrong Registry Editing can lead to system corruption and might even make your system unusable resulting in re-installation of your operating system.[/symple_box]
1. On your keyboard press the Windows flag and the R key at the same time (Windows +R) or open Start.
2. Now type Regedit.exe (1) and click on OK (2)
3. Now Unfold HKEY_CURRENT_USER
4. Then Unfold SOFTWARE
5. Then Unfold Microsoft
6. Then Unfold Windows
7. Then Unfold CurrentVersion
8. Then Unfold Policies
9. Then Unfold System
10. Now double-click on DisableLockWorkstation and change the value of DisableLockWorkstation to 1
If the key does not exists then right-click an empty spot and choose New then choose DWORD.
11. Click on OK and close Regedit. A reboot might be necessary for the changes to take effect upon your system.
If you wish to disable this tweak at a later moment just repeat the steps above and change the value back to the original value, which was 0. If you have any questions about this tweak, please feel free to ask them.