When you want to change your iPhone password follow these directions:

  • Go to My Apple ID.
  • Choose Manage Your Apple ID.
  • Enter your name and current password.
  • Choose Password and Security.
  • Change security question and choose Reset Security Information.
  • Choose Change Password.
  • Enter old password and then enter new password and confirm it is correct.

Source: Apple Support