To do so, click the Apple icon at the top left, and then select “System Preferences.”Īt the bottom right, click “Customize Control Strip.”Ī menu with several buttons will appear. You can also add a button to the Touch bar of your MacBook Pro to lock it. RELATED: How to Shut Down Your Mac Using Terminal Lock Your Mac Using the Touch Bar Again, make sure a password is required after it’s awakened from sleep mode. In Terminal, type the following command, and then press Enter: pmset displaysleepnow You can also use this feature to lock your Mac. Hot Corners is a feature that allows you to touch a corner of your computer’s screen with your mouse cursor to activate a command. If you require a password to unlock your Mac immediately after it’s put in sleep mode as we covered earlier, you can just click “Sleep” in this same menu. To do so, just click the Apple icon at the top left, and then select “Lock Screen.” You can also easily lock your Mac from the Apple menu. You can also press Command+Shift+Q, but this completely logs you out, which means any applications you were running will also close.
RELATED: The Best macOS Keyboard Shortcuts You Should Be Using You can just press Command+Control+Q to lock your Mac. The runner up for the simplest way to lock your Mac is via the keyboard shortcut.
When you open it again, you’ll have to type your password to access the computer and its data.
The simplest way to lock your Mac is to simply close the lid.