– Choose a PIN, pattern, password, or biometrics (fingerprint/face unlock).

. You can find it in the app drawer or swipe down the notification shade and tap the gear icon.

to ensure complete shutdown.