1. Find "Face ID & Passcode"
Press Settings.
![](http://wmstatic.global.ssl.fastly.net/ml/7150124-f-2ef041b2-7cf5-4c4f-ab06-63ca76171e8e.png?width=312&height=446)
Press Face ID & Passcode.
![](http://wmstatic.global.ssl.fastly.net/ml/7150124-f-796fdb8a-7579-4d47-a339-d8d182a6e8c5.png?width=312&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/7150124-f-72dea263-61cb-4b40-ac69-10d48e9adf72.png?width=312&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/7150124-f-eb6a2796-9bc0-405b-a9e0-28b1ed14b7dd.png?width=312&height=446)
If you turn on the function, press Enable.
![](http://wmstatic.global.ssl.fastly.net/ml/7150124-f-fead840b-26af-4421-83af-fed0deee4f09.png?width=312&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/7150124-f-eb6a2796-9bc0-405b-a9e0-28b1ed14b7dd.png?width=312&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/7150124-f-72dea263-61cb-4b40-ac69-10d48e9adf72.png?width=312&height=446)