If you have ever backed up your iPhone data using iTunes, you will have an encrypted backup of your data. This backup is password-protected, and the password is required to restore the data to a new iPhone. If you have forgotten your password, there is no way to restore the data from the backup.
There is, however, a way to reset the password and unlock the backup. This involves using a computer that is not your own and a USB …