Locking your Mac with Command+L
The only thing I missed about my Windows computer was locking the screen, since I was so used to locking my computer with
L. Mac offered an alternative called the
Hot Corner, but it never was so intuitive and fast as pressing
L. However, Mac now supports locking the computer by pressing
L from macOS Mojave. (check needed)
How do I do it?
- Go to System Preferences.
2. Go to Keyboard → Shortcuts → App Shortcuts and press
+ at the bottom.
3. On your Menu Bar, press the
Apple Logo. Check the name of
Q. It is responsible for locking your Mac. Remember the name of the menu.
4. Go back to the Preference app. Select
All Applications at Application Setting. Enter the Menu Title you have just checked. This title will vary according to your macOS Language Preference. Finally, enter
L at Keyboard Shortcut. If you want to lock your Mac with Keyboard Shortcut other than
L, you can enter in here. Press Add if you are finished.
5. Now you can see that the same
Lock Screen option at your menu bar will show the Keyboard Shortcut you just changed.
This works in almost every case. Sometimes, the app will have
L as its Keyboard Shortcut. One example is the System Preferences app that uses the
L as going to the Lobby of System Preferences. I have never seen any other cases where
L doesn't work as expected.
Added on July 1st, 2020
- If some app uses Command + L as their default shortcuts, you can set them to some other random shortcuts, clearing the path for the "Lock Screen" shortcut.