Ubuntu: Do NOT lock the screen when pressing Super+L

Unity also has a shortcut to lock the screen, so you need to disable that one too.

disable shortcut screenshot

  • Install and run CompizConfig Settings Manager
  • Click "Ubuntu Unity Plugin"
  • Click the button next to "Key to lock the screen."
  • Disable

While this is an old question, it still comes up as the top result for searches like "ubuntu disable win+L locking". For future reference, this answer covers a method without CompizConfig Settings Manager.

https://askubuntu.com/questions/531835/how-do-i-disable-lock-screen-keyboard-shortcut-under-unity

In short:

Run gsettings set org.gnome.desktop.lockdown disable-lock-screen true to disable the lock screen.

However, this will still turn your screen black for a few seconds. This is still especially useful if you are running Ubuntu in a VM, and don't want it to lock when you lock your outer system.