You can enter your pin 5 times incorrectly before being locked out for 5 minutes.
On the lockout screen, you will have the option to reset your passcode by taking a selfie. If the selfie matches the selfie taken during registration then you will be able to reset your passcode.