Apple - MacBook Pro lock screen hotkey without sleeping?
High Sierra and higher(?)
As usual every system update changes something. There is now a Apple Menu item control+⌘+Q that locks the screen!
Sierra and lower
You can add the Lock Screen to your Menubar.
In Spotlight (⌘ + Space) search for
Keychain Access
Open Preferences (⌘ + ,)
Check
Show keychain status in menu bar
This will show a lock in your Menu Bar with an optionLock Screen
(Optional)
System Preferences
>Keyboard
>Keyboard Shortcuts
orKeyboard
TabIn the
App Shortcuts
orApplication Shortcuts
section, add a new item forAll Applications
with the Menu Title ofLock Screen
and a Keyboard shortcut that you like.
This way you don't have to change your Screensaver timeout and you can lock your machine much like you do in windows. Note that You may also need to Logout and back in for any changes to the shortcut to take effect.
I have finally figured out how to do this:
pmset displaysleepnow
That will actually put the display to sleep without suspending the entire machine.
Amazing how hard it is to figure out how to do something so basic.
This is now built into High Sierra.
The keyboard shortcut is CTRL+⌘+Q