Set screen lock

You can help secure your Android phone or tablet by setting a screen lock. Each time you turn on your device or wake up the screen, you’ll be asked to unlock your device, usually with a PIN, pattern, or password.

On some devices, you can unlock with your fingerprint or automatically unlock in trusted conditions.

Note: Some of these steps work only on Android 8.0 and up. Learn how to check your Android version.

Set or change a screen lock

  1. Open your device's Settings app Settings app.
  2. Tap Security & Location. (If you don't see "Security & Location," tap Security.)
    • To pick a kind of screen lock, tap Screen lock.
      1. If you’ve already set a lock, you’ll need to enter your PIN, pattern, or password before you can pick a different lock.
      2. Tap the screen lock option you’d like to use. Follow the on-screen instructions.
    • To change your screen lock's settings, next to Screen lock, tap Settings Settings. Settings include automatic lock timing, Power button locking, and a lock screen message.

Screen lock options

No lock

  • None: Your device stays unlocked. This gives no protection, but you can get to your Home screen quickly.
  • Swipe: Swipe your finger across your screen. This gives no protection, but you can get to your Home screen quickly.

Standard locks

  • Pattern: Draw a simple pattern with your finger.
  • PIN: Enter 4 or more numbers. Longer PINs tend to be more secure.
  • Password: Enter 4 or more letters or numbers. A strong password is the most secure screen lock option.

More locks

Related articles


Amy is an Android expert and author of this help page. Leave her feedback below about the page.

Was this article helpful?
How can we improve it?