How to Lock Your Mac After Closing

Setting a password lock on a Mac can prevent unauthorized access while you’re away from the computer. Once you’ve enabled the security feature, the computer automatically locks after you close it. To access the computer again, you’ll need to enter your login name and the correct password. Set your Apple computer to automatically lock with the computer’s Security and Privacy tool.

  1. 1.

    Click the “Apple” button to launch the Apple menu. Select “System Preferences” from the drop-down menu.

  2. 2.

    Click the “Security and Privacy” icon in the "System Preferences" pane.

  3. 3.

    Click the “General” tab at the top of the "Security and Privacy" dialog window.

  4. 4.

    Click and select the “Require Password” check box. Select “Immediately” from the pull-down options list to lock the Mac as soon as you close the device. Alternatively, select “After Sleep or Screen Saver Begins” to delay the lock until the Mac goes into sleep or screen saver mode. If you select this option, set the lock delay time from the pull-down options list.

  5. 5.

    Click the “Disable Automatic Login” check box to enable this option. You can also enter your own message to display on the locked screen by enabling the applicable check box and typing the message into the input field below.

  6. 6.

    Click the padlock button at the bottom of the dialog window. This stops another user from changing your privacy and security settings.