Apple - How to turnoff screen / lock Macbook Pro with touch bar using keyboard?

you can add the sleep function to the touch bar through system preferences > keyboard > customize control strip and then drag the sleep icon to the touch bar, allowing you to put it to sleep by pressing 1 button.


Activate Lock Screen: controlQ

Other Options: Add Screensaver/Sleep/Screen Lock button(s) to Touch Bar (instructions below)

Personal Choice: "Hot Corners" to activate Screensaver


How To Add "Screen Lock" to Touch Bar "Control Strip"

  1. Settings → Keyboard
  2. "Expand Control Strip" on touch bar by clicking arrow on the left of the 4th icon from the right of your touch bar.
  3. "Customize Control Strip..." > Drag Screen Lock somewhere onto the touch bar (of the expanded control strip view)
  4. Settings → Keyboard → Press Fn key to → Expand Control Strip (assuming you don't use Fn keys for other things)
  5. Hold fn and press the "Screen Lock" icon (in any app/view) to lock your screen!

TIP: Put "Screen Lock" on far left (same side as fn) = lock screen with one hand.


I would recommend using BetterTouchTool for this. It also includes a lot of other useful features for shortcuts, gestures, touch bar, etc. Once you've started using it, you'll never want to live without.