Question: how to change your apple.com password?
Answer: Tap Settings > [your name] > Password & Security.
Tap Change Password.
Enter your current password or device passcode, then enter a new password and confirm the new password.
Tap Change or Change Password.
Sign in with your new Apple ID password to access Apple features and services.