From the Home screen, drag down the Notification panel.
Tap the Settings icon.
Scroll to Security & location.
Tap Security & location.
Tap Screen lock.
Tap PIN.
For this tutorial, we're showing how to set up a PIN. You can select a different type of security, but steps may vary based on what you choose.
Enter your PIN.
Your PIN must be at least 4 numbers long.
Tap NEXT.
Re-enter your PIN.
Tap OK.
Select a notification preference.
Tap Hide content to prevent the content of emails, texts and other notifications from appearing on the Security & location. You'll be notified that you have a new message, but not shown what the message contains.
Tap DONE.
You've completed the steps!
