Tip 227Secure Your Mac by Locking It

You can set your Mac to show a blank screen or start the screensaver on demand. If you also set a password prompt to appear when the mouse is moved or a key pressed, you’re effectively making the computer impossible to use until you return. Additionally, nobody will be able to see your screen contents as they pass.

Enabling Password-Protected Sleep

For screen locking to be effective, you’ll need to first activate password protection: open System Preferences (Apple menuSystem Preferences) and click the Security & Privacy icon. Ensure the General tab is selected and then set Immediately in the drop-down list alongside Require Password.

Locking via a Keyboard Shortcut

To lock the screen quickly from the keyboard, ...

Get Mac Kung Fu, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.