iPhone 12 mini
Turning use of phone lock code on or off
The phone lock code prevents others from accessing the contents of your phone (such as pictures and messages). When the phone lock code is turned on, it needs to be used every time you turn on your phone and when it has been in sleep mode.