1. Find "Face ID & Passcode"
Press Settings.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-42a4ab6f-a71e-48f5-ade1-54c7aeb1a829.png?width=336&height=448)
Press Face ID & Passcode.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-191cabbb-98ef-4da6-934e-9a779bbfdcf8.png?width=336&height=448)
2. Turn on use of lock code
Press Turn Passcode On and key in a lock code of your own choice twice.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-06c376fc-7a41-428f-9e98-db6796110c85.png?width=336&height=448)
3. Turn deletion of data on or off
Press the indicator next to "Erase Data" to turn the function on or off.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-b53567c9-1997-46d5-894c-cc400514c2be.png?width=336&height=448)
If you turn on the function, press Enable.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-dfc8a3f0-4c46-4f4f-9ec2-9d5888efafcf.png?width=336&height=448)
4. Turn off use of lock code
Press Turn Passcode Off and key in the lock code.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-b53567c9-1997-46d5-894c-cc400514c2be.png?width=336&height=448)
5. Return to the home screen
Slide your finger upwards starting from the bottom of the screen to return to the home screen.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-06c376fc-7a41-428f-9e98-db6796110c85.png?width=336&height=448)