How to reset an iphone 4 with broken lock button and forgotten password?

I recently was skateboarding and I fell pretty hard, enough to give myself a gnarly concussion. Anyways, my lock button broke on my phone and I forgot the password to the phone. Is there a way to reset the phone with the lock button broken, and without the password? I have an Iphone 4.

Install the latest version of iTunes onto your computer.
Now plug it into the computer and open iTunes.
Your iDevice should show up at the right corner of the screen on a black bar. Now click on your device.
Click restore and it will reset your iPhone to factory setting like just when you bought it like asking what country and language.