Mike's PBX Cookbook

Lock or Sleep a Mac

5 ways to Lock (or sleep) your Mac - a simple way to prevent access when you walk away.

First, make sure the following is set:

You can select Sleep from the Apple Menu! But there are several other ways.

OSX X sleep

1. Shortcut: Lock

Use the following keyboard shortcut:

The screen will immediately blank, and tasks will continue to run in the background.

2. Shortcut: Sleep

Use the following keyboard shortcut:

The Mac will immediately goto sleep, and all tasks are suspended. Sleep will save battery power.

3. Lock with Keychain.

  1. Open Keychain Access, and access the Preferences.
  2. Check "Show keychain status in menu bar".
  3. Click the menubar Padlock, and select Lock Screen.
Keychain Lock

4. Lock with a Hot Corner


Steer your mouse to the hot corner, and the screen will immediately blank. The Mac is locked.

5. Use the Power button!

With Mavericks (and Yosemite):


Beware! Continuing to hold the Power button after the pop-up appears will force a power-down. Unsaved changes may be lost!


CaffeineOften, you'll have the opposite problem, and want to keep it awake! Caffeine is a tiny program that puts a coffee cup icon in the right side of your menu bar. You can click this icon to prevent your Mac from automatically going to sleep, dimming the screen, or starting screen savers. Click the icon again to go back to normal mode.
Home » Other » Lockmac