1. Find "Face ID & Passcode"
Press Settings.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-047d94d4-2b88-4cee-8b1a-995e6f037180.png?width=308&height=446)
Press Face ID & Passcode.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-bef6a388-5c8c-43f1-8c34-1c2070839475.png?width=308&height=446)
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-916887e0-824c-422f-923a-27bd794fff2e.png?width=308&height=446)
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-d93c5c4c-817d-48d8-b917-961445e2a057.png?width=308&height=446)
If you turn on the function, press Enable.
![](http://wmstatic.global.ssl.fastly.net/ml/7070225-f-25550f9e-2ca7-4a73-b30b-1d0cad0a6de5.png?width=308&height=446)
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-d93c5c4c-817d-48d8-b917-961445e2a057.png?width=308&height=446)
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-916887e0-824c-422f-923a-27bd794fff2e.png?width=308&height=446)