The PIN is your general unlock code from a mobile phone, you can also use biometrics (e.g. fingerprint or facial recognition). 


You can change your unlock code and biometric settings in the general settings of your device.