How to Lock a Computer

Locking your computer is a good way to protect your computer from unwanted users when stepping away for a moment. In order for a lock to be effective, you will have to make sure that your computer is configured to prompt for a password...
Method 1 of 2:

Windows

  1. How to Lock a Computer Picture 1How to Lock a Computer Picture 1
    Open Windows Settings. Hit Win and select 'Settings'.
    1. On older versions of Windows, open the Control Panel by hitting Win and selecting 'Control Panel'. If you do not see it listed, enter 'Control Panel' into the search bar and select it from the results.
  2. How to Lock a Computer Picture 2How to Lock a Computer Picture 2
    Click Accounts. This button is on the right of the Settings page and will open a list of Account options.
    1. On older versions of Windows, select 'User Accounts' from the Control Panel.
    2. Windows 10 and 8 require account passwords for their accounts when they are created. Users on older versions can go to 'Make Changes to Your User Account' and click 'Create a password' next to the account profile in use.
  3. How to Lock a Computer Picture 3How to Lock a Computer Picture 3
    Select 'Sign-in Options'. This is listed in the left sidebar and will take you to another options page.
  4. How to Lock a Computer Picture 4How to Lock a Computer Picture 4
    Select 'When PC wakes up from sleep' from the 'Require Sign-in' dropdown. This is located at the top of the page.
  5. How to Lock a Computer Picture 5How to Lock a Computer Picture 5
    Create a PIN (optional). Click 'Add' under the PIN header. After entering your account password, you can enter a PIN number twice (second time to confirm).
    1. PINs can only be numeric.
    2. PINs will be used in place of passwords when logging in or unlocking your computer.
  6. How to Lock a Computer Picture 6How to Lock a Computer Picture 6
    Hit Win+L. This will lock your screen. You account's password/PIN will be required to unlock it.
    1. You can modify the time it takes for your display to automatically sleep (thus locking it) by going to 'Settings > System > Power and Sleep'. Select your desired time period from the dropdown menu under 'Screen'. Note that you will need to adjust this time limit for both 'plugged in' and 'on battery' states for laptops.
    2. The computer will also lock if your computer enters Sleep mode. The time to enter sleep can be modified at 'Settings > System > Power and Sleep' under the 'Sleep' header.
Method 2 of 2:

Mac

  1. How to Lock a Computer Picture 7How to Lock a Computer Picture 7
    Open 'System Preferences'. Open the 'Apple' menu in the upper left corner and select 'System Preferences'.
    1. You can also launch it from the launchpad or quick launch bar at the bottom of the screen.
    2. Users running a recent version of MacOS or OSX will have had to create a password when setting up their computer. Users running older versions can create a password by going to 'Accounts' in the 'System Preferences' and selecting 'Change Password' next to the user account.
  2. How to Lock a Computer Picture 8How to Lock a Computer Picture 8
    Click 'Security and Privacy'. This is located in the top row of options.
  3. How to Lock a Computer Picture 9How to Lock a Computer Picture 9
    Select the 'General' tab. Tabs are listed along the top of the window.
  4. How to Lock a Computer Picture 10How to Lock a Computer Picture 10
    Click the the 'Lock' icon. This is located in the lower left corner and will prompt you to enter your password. Once entered, this will unlock the settings and allow them to be modified.
  5. How to Lock a Computer Picture 11How to Lock a Computer Picture 11
    Select the 'Require Password after sleep or screensaver begins' checkbox. This setting forces the user to enter a password after a selected amount of time has passed following the display entering sleep or screensaver.
  6. How to Lock a Computer Picture 12How to Lock a Computer Picture 12
    Select 'Immediately' from the dropdown. This is located next to the checkbox and will make it so the user must always enter a password after the display enters sleep/screensaver.
    1. You can select other time limits before a password is required from the dropdown menu. This can be useful if you want to be able to return from a display sleep quickly without entering your password. However, 'Immediately' is the only option that effectively 'locks' your computer on command.
  7. How to Lock a Computer Picture 13How to Lock a Computer Picture 13
    Select 'Disable Automatic Login' (for users on OSX 10.9 or earlier). Automatic login allows users to bypass password entry when booting the computer and waking from sleep. Disabling it ensures that a password prompt will appear when the screen is locked or slept.[1]
    1. This feature was removed for Administrator accounts on OSX 10.10 and later.
    2. Optionally, you can click the Lock icon again to relock these changes, but they will be saved either way.
  8. How to Lock a Computer Picture 14How to Lock a Computer Picture 14
    Hit Ctrl+ Shift+Power. This will lock your computer's screen without fully sleeping the computer. You will be prompted for your password upon any attempt to unlock.[2]
    1. If your mac has an optical (CD/DVD) drive you can use Ctrl+ Shift+ Eject to perform the same action.
4 ★ | 2 Vote