Question: how to change your forgotten password on iphone?
Answer: Go to Settings.
Tap [your name] > Password & Security > Change Password.
If you are signed into iCloud and have a passcode enabled, you will be prompted to enter the passcode for your device.
Follow the onscreen steps to update your password.