1 Find "Face ID & Passcode"
Press Settings.
![](http://wmstatic.global.ssl.fastly.net/ml/7060225-f-896baa34-716b-4516-8cec-9d74f03ac9e0.png?width=336&height=448)
Press Face ID & Passcode.
![](http://wmstatic.global.ssl.fastly.net/ml/7060225-f-af931e38-e911-481f-aa2b-ef3c4205afc1.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/7060225-f-688c4122-78d0-497e-ab46-ef157b0daa38.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/7060225-f-efc35094-a872-4b9d-acdb-9d5bc97a291a.png?width=336&height=448)
If you turn on the function, press Enable.
![](http://wmstatic.global.ssl.fastly.net/ml/7060225-f-57785e3d-515c-4f41-aada-bf1942958dbf.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/7060225-f-efc35094-a872-4b9d-acdb-9d5bc97a291a.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/7060225-f-688c4122-78d0-497e-ab46-ef157b0daa38.png?width=336&height=448)