From the Home screen, touch and hold the Recent Apps Key (in the Touch Keys bar) > Lock screen settings.
Tap Select screen lock.
Tap None, Swipe, Face Unlock, Knock Code, Pattern, PIN, or Password.
None: No Lock screen is enabled so the screen will never be locked from use.
Swipe: A swipe motion in any direction on the touchscreen will unlock the screen. This is the default Lock screen that simply guards against unintentional actions.
Face Unlock: Unlocks the screen using face recognition. The phone captures your image to identify you. Keep in mind that Face Unlock is less secure than a pattern, PIN, or password because it uses generalized shape and dimension to verify your face.
Knock Code: Unlocks the screen using a tapping a sequence on the screen's 2x2 grid. (When the screen is in time-out, the 2x2 grid is invisible, but the grid is displayed on the Knock Code Lock screen.) The first time you set a Knock code, you'll see a tutorial with instructions on how to create it. Tap a sequence on the 2x2 grid (from 3 to 8 taps), then tap Done. Tap your sequence again and tap Confirm.
You're prompted to create a Backup PIN as a safety measure in case you forget your Knock code unlock sequence.
Pattern: Unlocks the screen using a pattern you draw with your finger. The first time you set an unlock pattern, you'll see a tutorial with instructions on how to create it. Read the tutorial, then tap Next. Draw your pattern (connect at least 4 dots) and tap Continue. Then redraw your pattern and tap Confirm.
You're prompted to create a Backup PIN as a safety measure in case you forget your unlock pattern sequence.
PIN: Unlocks the screen with a number sequence. Enter a PIN (at least 4 digits) and tap Continue. Reenter your PIN and tap OK to confirm it.
Password: Unlocks the screen with an alphanumeric sequence. Enter a password (at least 4 characters) and tap Continue. Re-enter your password and tap OK to confirm it.
From then on, any time you want to unlock the screen, you'll need to perform the unlock action you set (swipe, face recognition, knock code, pattern, knock code, PIN, or password) to gain access to it.