Android

How to set or change the screen lock on an Android phone

Photo of Abu Bakar Saadat

By

Author · View profile

Updated 22 October 2026 · Checked October 2026

Device: Google Pixel 10a · Software: Android 17 (build CP3A.261005.005)

Publisher: Saadat Rafiq

2 min read6 steps

Screenshot from the guide: How to set or change the screen lock on an Android phone

howtosimply.com/guides/how-to-set-or-change-the-screen-lock-on-an-android-phone/ · Checked October 2026 · build CP3A.261005.005 · Google Pixel 10a, Android 17

In this guide
  1. Open Settings and tap Security and privacy
  2. Tap Device unlock
  3. Tap Screen lock
  4. Choose the type
  5. Enter it twice
  6. Add a fingerprint or face
  7. If you do not see this option
  8. If this does not work
  9. Good to know
  10. Sources
Quick answer

On a Google Pixel, open Settings, Security and privacy, Device unlock, Screen lock. On a Samsung Galaxy, open Settings, Lock screen and AOD, Screen lock and biometrics. Enter any current lock, choose PIN, Password or Pattern and enter it twice. The PIN screen on our Pixel recommended six digits.

5 of 6 steps with real screenshots · 1 official source below

Device
Android
Shown on
Google Pixel 10a, Android 17 (build CP3A.261005.005)
App
Settings
Real screenshots
5 of 6 steps
Checked
October 2026
Sources
1 official, linked below

Step by step

Take this guide with you

Print it, or pick "Save as PDF" in the print window.

Steps
Also include
  1. Android screenshot: Open Settings and tap Security and privacy

    Open Settings and tap Security and privacy

    On our Pixel it is below About phone. If you cannot find it, search the settings for Screen lock.

  2. Android screenshot: Tap Device unlock

    Tap Device unlock

    Under Security, Device unlock shows the current lock; ours said Swipe, with a warning sign. The Set a screen lock card at the top leads to the same place.

  3. Android screenshot: Tap Screen lock

    Tap Screen lock

    The line under it shows the current type, Swipe on ours. If a PIN, pattern or password is already set, the phone asks for it first.

  4. Android screenshot: Choose the type

    Choose the type

    Ours offered None, Swipe (marked Current screen lock), Pattern, PIN and Password. A PIN is four or more digits. A password is the most secure choice. A pattern is the easiest to watch over your shoulder.

  5. Enter it twice

    Type the PIN, pattern or password, then type it again to confirm. Android blocks screenshots of this screen, so ours came out black. It read: PIN must be at least 4 digits, but a 6-digit PIN is recommended. We typed nothing and backed out.

  6. Android screenshot: Add a fingerprint or face

    Add a fingerprint or face

    Back on Device unlock, Fingerprint and Face are below Screen lock; ours said Add fingerprint and Add face. They make unlocking quick. The PIN stays as the fallback and is asked for after a restart.

If you do not see this option

  • You have a Samsung Galaxy Open Settings, Lock screen and AOD, Screen lock and biometrics. On our Galaxy A57 with One UI 8.5 the same page also has Lock screen notifications.
    Android screenshot: Lock screen and AOD page on a Galaxy A57, One UI 8.5
  • Your phone has other menu names Android Help gives Settings, Security as the general route and says to check the phone maker's support site if there is no Security entry. Source: Set screen lock on an Android device

If this does not work

  • The PIN screen is black in a screenshot That is Android protecting the screen, not a fault; ours did the same.
  • The phone asks for a lock you forgot You need the current lock to change it. Without it, the only way back in is to erase the phone; see the guide linked below.

About this guide

The screen lock is what stands between a finder or thief and everything on the phone. It also encrypts your data and is needed for fingerprint unlock, Google Wallet and theft protection.

The screenshots are from our Google Pixel 10a with Android 17 (build CP3A.261005.005), in dark mode. Its screen lock was Swipe, so Security and privacy warned that the device may be at risk. The Samsung route is under If you do not see this option.

Good to know

None and Swipe give no protection at all. Anyone who picks up the phone can open it.

With a PIN of six or more digits you can switch on auto-confirm, so the phone unlocks without tapping Enter. Google notes that this is slightly less secure.

If you forget the lock, the only way back in is to erase the phone: forgot your Android PIN or pattern: how to get back in.

More protection against theft: how to turn on theft protection on Android.

In short: Pixel: Settings, Security and privacy, Device unlock, Screen lock. Samsung: Settings, Lock screen and AOD, Screen lock and biometrics. Choose PIN, Password or Pattern, enter it twice, add a fingerprint.

Sources

Links checked in October 2026. Menus and features can change after software updates. These steps match the version named at the top.

Did this guide work for you?