How to disable Win+L in Windows 10?

I am using a Linux VM in a Windows host, now some hotkeys conflicts.

I just want to disable Win+L, without disabling other hot keys.


To supplement Sébastien VALSEMEY's answer, actually there is a way to do that :)

  1. go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System, if there is no System, create one
  2. create a 32bit DWORD, name it DisableLockWorkstation
  3. set the value of DisableLockWorkstation to 1
  4. it will take effect immediately

image here

Registry tweak:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableLockWorkstation"=dword:00000001

As far as I know, there is no mean to disable only one Win+X keyboard shortcut.

What I can suggest is to disable completely Win+X hotkeys:

  1. Type regedit in RUN or Start search box and press Enter. It'll open Registry Editor.

  2. Now go to following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

  3. In right-side pane, create a new DWORD NoWinKeys and set its value to 1

NoWinKeys

  1. Close Registry Editor and restart your system. After reboot, all Win+X hotkeys will be turned off in your system.

To re-enable them, delete the DWORD NoWinKeys created in step 3.