Chosen Solution
I bought used iPhone 4 with dead battery, I changed it. Then I was greated with passcode screen, previous owner told me some codes that can be correct. But they all ended up being wrong. iPhone locked it self and now asks about iTunes. I told that previous owner, he deleted it on he’s iCloud page. Now I just need to connect it to the internet and it will wipe it self. The question is how? I saw that answer and I don’t know will it work, cuz iPhone 4 runs iOS 7 (mine) Connect locked phone to wifi so it will delete itself remotly? if it you can give me some other options it whould be awesome. Thanks. P.S sorry for my bad English.
You need a PC or mac with iTunes installed. Just connect them with the usb cable and open iTunes, it will then tell you the phone needs to be restored.