Locked Iphone won't sync to itunes at all?

I found my mom's old Iphone 4. Maybe the hardware/firmware is broken because she has dropped it quite a few times and this is my first time syncing it to my computer. But, I tried to figure out her passcode and eventually gave me a red alert screen saying "Iphone is Locked.connect to Itunes." But when I go to plug it into my computer, it says it can't detect the driver software. Is there a way to fix this? Is there a way to restore this thing without itunes?

Does your mom want you to use it?

You will need to have her and apple to help you unlock it.
The lock feature is there to protect the owner from someone who "find" someone's phone from using it without their permission.

You would also need to attach the phone to a cell account and pay for it's use.

Go to apple customer care and re-install the software.