In what part of the process does it ask for you password? It can either be asking for the password to the iCloud account (Apple ID) used on the device before the restore or if your iTunes backup was encrypted it will be asking for the password for the encrypted backup.
If it is asking for the iCloud password you should see something like "Enter password for b*******@hotmail.com" and then you need to enter the password for the Apple ID with the corresponidng email address. (if you email address is example@gmail.com it should say e*******@gmail.com)
Are you absolutely sure wich Apple ID you need to enter the password for? There could also be issues if you have changed primary email for you Apple ID at any point. Then you might need to follow this article iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud.
Either way, if your iPhone requires a password to the iCloud account it is locked to you will have to figure out which iCloud account that is and then enter correct password or reset password if you don't remember.