How to set up shortcuts to quickly lock Mac OS X screen

When the Mac is put into sleep mode, users will have to enter the password if they want to use it. However, we can completely set shortcuts to quickly turn off the computer when needed.

To turn off the computer when it is needed on the Mac, you can use the password request mode when in the Sleep state. Users can set optional time and password when selecting in sleep mode. However, we can also set up shortcuts to lock the device at times of need, without having to use the password as before.

Step 1:

Click on the magnifying glass icon in the upper corner to open Spotlight Search, then open Automator . Alternatively, you can search in Other section at Launchpad.

How to set up shortcuts to quickly lock Mac OS X screen Picture 1How to set up shortcuts to quickly lock Mac OS X screen Picture 1

Step 2:

At Automator, we click the Service gear icon .

How to set up shortcuts to quickly lock Mac OS X screen Picture 2How to set up shortcuts to quickly lock Mac OS X screen Picture 2

Step 3:

Next, select the Utilities section and double click on the Run shell Script line. Then, adjust the Service receive item above to no input in any application .

Below, enter the following command line:

/ System / Library / CoreServices / "Extras Menu" /User.menu/Contents/Resources/CGSession -suspend

How to set up shortcuts to quickly lock Mac OS X screen Picture 3How to set up shortcuts to quickly lock Mac OS X screen Picture 3

Step 4:

Next go to File> Save or press Command + S and set an arbitrary name in the Save service as section . Prioritize simple naming for easy implementation in the following steps, such as Lock Screen.

How to set up shortcuts to quickly lock Mac OS X screen Picture 4How to set up shortcuts to quickly lock Mac OS X screen Picture 4

Step 5:

Go to System Preferences and select Keyboard> Keyboard Shorcuts> App Shortcut . Then press the + button to add a shortcut.

How to set up shortcuts to quickly lock Mac OS X screen Picture 5How to set up shortcuts to quickly lock Mac OS X screen Picture 5

Step 6:

At the new window, select All Applications . Under the Menu Title section, enter the previously saved name Lock Screen.

In the Keyboard Shortcut section, we can set arbitrary shortcuts to turn off the computer like Command + L. Finally click Add to finish.

How to set up shortcuts to quickly lock Mac OS X screen Picture 6How to set up shortcuts to quickly lock Mac OS X screen Picture 6

The above is a tutorial on how to use the shortcut to quickly lock the computer screen on Mac OS X. When you want to use the device, you just need to press the key combination that quickly turns off the previous machine to access the login window. only

Refer to the following articles:

  1. Find IP address and MAC address
  1. Find the router's IP address in Mac OS X
  1. 20 convenient shortcuts when using Mac OS X

I wish you all success!

3.8 ★ | 11 Vote