+

Cookies on the Business Insider India website

Business Insider India has updated its Privacy and Cookie policy. We use cookies to ensure that we give you the better experience on our website. If you continue without changing your settings, we\'ll assume that you are happy to receive all cookies on the Business Insider India website. However, you can change your cookie setting at any time by clicking on our Cookie Policy at any time. You can also see our Privacy Policy.

Close
HomeQuizzoneWhatsappShare Flash Reads
 

You can lock your Mac computer with just a keyboard command - here's how to set it up

Sep 10, 2019, 19:00 IST

Hollis Johnson/Business Insider

Advertisement
  • To lock your Mac from your keyboard, you'll have to enable a passcode. Afterwards, you'll have to log into your locked Mac with that password each time you want to use it.
  • There are two keyboard shortcuts you can use to lock your Mac - one will lock the screen, the other will put your computer to sleep and turn off the background processes.
  • Visit Business Insider's homepage for more stories.

Passcodes are a vital part of keeping your computer secure. And knowing how to lock your Mac with just a keyboard shortcut is a handy tool to add to your security arsenal.

That way, when you need to quickly lock your computer, you can do it with just a few keystrokes.

Complimentary Tech Event
Transform talent with learning that works
Capability development is critical for businesses who want to push the envelope of innovation.Discover how business leaders are strategizing around building talent capabilities and empowering employee transformation.Know More

Here's what you'll need to know to enable your Mac's passcode feature, and then use keyboard shortcuts to lock your computer.

Check out the products mentioned in this article:

Macbook Pro (From $1,299.99 at Best Buy)

How to lock your Mac with a passcode

Before you can lock your Mac from your keyboard, you'll have to set a passcode. This makes it so that you'll have to use your passcode to unlock your Mac in the future, which also enhances your computer's overall security.

Advertisement

Here's how to set it up:

1. Click the Apple logo in the top-left corner of the screen and select "System Preferences."

Open your Mac's System Preferences menu.Devon Delfino/Business Insider

2. Choose "Security and Privacy."

In the System Preferences menu, click &quotSecurity & Privacy" in the top row.Devon Delfino/Business Insider

Advertisement

3. Under "General," tick the box next to "Require password after sleep or screen saver begins" (you can change how soon this feature kicks in by selecting an option from the dropdown).

Enable and set your passcode.Devon Delfino/Business Insider

4. You'll be asked to set a password and a security hint. Make sure to come up with a password that you'll remember, but is hard to crack.

How to lock a Mac from your keyboard

Once your Mac has a password enabled, here are two ways to lock it using only your keyboard:

  • Press and hold the Control, Shift and Power buttons, or Control + Shift + Eject if your Mac doesn't have a Power button.

When you use this keyboard shortcut, your background processes will continue to function. So, for example, if you have Spotify running, you'll still be able to hear the music or podcast, but your laptop will be locked and you'll have to log back in to use it.

Advertisement

Pressing the highlighted button will turn off your screen and lock your Mac.William Antonelli/Business Insider

  • Press and hold Command, Option and Power, or Command + Option + Eject.

This keyboard shortcut will put your computer to sleep, which locks it and shuts down most background processes.

Pressing the highlighted keys will put your Mac to sleep.William Antonelli/Business Insider

Related coverage from How To Do Everything: Tech:

NOW WATCH: This electric-shock bracelet helped me quit biting my nails

Next Article