Itunes could not connect to the iphone because it is locked with a passcode?

First, I forgot my password and now its disabled because I entered too many wrong keys. So I'm trying to restore it in Itune but it said this

"itunes could not connect to the iphone because it is locked with a passcode".

And the *** moment is how can I open if I already forgot the password. Can you guys help me how to restore the phone.

1. Turn off your iPhone
2. Plug the Sync cable to your computer
3. Plug in the sync cable to your iPhone while holding the "Home" button.
4.iTunes should say "Found a Device on Recovery".
5. Restore your iPhone/iPad/iPod Touch
6. If you have a backup of your device, then you should be good to go or else you will have start as a new device