Your device can be secured with a password making it so no one can get into your device without entering your password. If you forget your password you will have to reset your device and you will lose any information that is not backed up.
From the Home screen, drag down the Notification Panel.
Tap the Settings icon.
Scroll to Security & location.
Tap Security & location.
Tap Screen lock.
Note: If you'd like to setup Secure start-up, tap YES and follow the on-screen prompts.
Enter your password.
Confirm your password.
Select a notification preference.
Note: Tap Hide sensitive notification content to prevent the content of emails, texts and other notifications from appearing on the Lock screen. You'll be notified that you have a new message, but not shown what the message contains.