You need to set the following registry key to completely disable the Windows locking feature:
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem] "DisableLockWorkstation"=dword:00000001
And restart the computer.
This works on Win7, Win8 and Win10
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…