How to restore my iPhone from backup after being disabled?

One of my friends disabled my iPhone to the point where it says connect to iTunes. Now, is there any way to make it let me enter my password? I don't want to restore it, as I have a LOT data such as texts and others that I do not want to lose.
If this is not possible, why is it not letting me restore from a backup? When I try it says "Can't restore from backup because iPhone needs a password" or something like that. WTF? I can't enter my *** password, it won't let me. Do I really have to restore it COMPLETELY!

You do not have to restore it. Try turning off your phone completely & turning it back on, then try putting in your passcode, it should work.