DEV Community

Aubrey Portwood
Aubrey Portwood

Posted on

How to disable the Lock key on a non-Mac Bluetooth Keyboard

I have been searching the Internet for the answer to this, and it turned out to be quite simple.

You don't need Karabiner-Elements, just run:

defaults write com.apple.loginwindow DisableScreenLockImmediate -bool yes
Enter fullscreen mode Exit fullscreen mode

That disabled the stupid Lock key above the Delete key! I hit this thing all the time, and I have a really complicated password!

Top comments (0)