Question: how to change forgotten password for icloud?
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.