
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. To set this up, open System Preference and search for ‘hot corners’ and you’ll find the facility in the screensaver menu.The simplest way to lock your Mac is to simply close the lid. That means you can drag the mouse into, say, the top-right corner of the screen to make the screensaver kick in. You can use the same technique too for other things which may not have shortcuts assigned to them.īy the way, you can also use the Mac’s Hot Corners facility to activate a screensaver. Click on this and record a key combination that you want to use to activate your screensaver.Īnd that’s it! Stabbing that keyboard shortcut will now kick off the screensaver on your Mac. To the right of it should be a button which says “Add Shortcut”.

On the left-hand side of the screen that appears, click on Services and, on the right, find the new “Start Screen Saver” service that you created previously. Head into System Preferences > Keyboard and then click on the “Shortcuts” tab. Assign a keyboard shortcut to your new service.Give the automation a name of “Start Screen Saver”. Finally, change “Workflow receives current” to “no input”, before clicking on File > Save in the Menu bar. Click the result into the box on the right.

On the next screen, type “Start Screen Saver” into the search box. Select the Quick Action option and then click on the “Choose” button. Launch the Automator app, which comes with all Macs.Setting up a keyboard shortcut for a Mac screensaver
