How to bypass my iphone passcode?

Ok so my friend disabled my iphone for an hour after she changed the passcode but she doesn't remember what it is. The hour is up in a few minutes but i'm afraid of entering the wrong passcode again to make it disabled for even longer. After the hour is up is there any way i can get into my phone without entering the pass code? I have an idea of what the passcode might be but i'm scared if it is wrong that my iphone will then be disabled for even longer. Or does anyone know a way that i can at least make the disable time go back to 5 minutes? Like if i turn my phone off for a certain amount of time will the phone forget it was disabled and allow me to guess again before it gets disabled for five minutes. I really need help! Thanks.

Added (1). This is my iphone. I did not steal it and it doesn't belong to anyone else. Thats why i care about unclocking it

Suspicious inquiry

Connect it to your iTunes

  • Is there way to bypass passcode in iPhone 4? IOS7? My phone was stolen the other day and they turned my phone off so I can't use Find my iPhone. I'm just worried that once they turn it back in, they find a way to bypass my passcode and look through my files. I have credit card details in my phone so I'm really worried. my 3G isn't turned on so even if they turn my phone on, the only way i can delete all my data using "Find my iPhone" is if they connect to Wi-Fi.
  • Is there anyway I can bypass my passcode on my iPhone 4 or it's a 5 I'm not sure but I can't remember the passcode but I need it I know you can restore but I don't want to do that because I don't think I have the computer I backed it up to back then. And i don't know what update this is. Like I haven't see the emergency button there at all in any videos
  • Iphone asking me for a passcode to install update. I never set up a passcode. Options? I just tried to update my iphone to 7.1.1 and i'm being asked for a passcode. I never set one up, but entered what I would have made it, and now have a message saying "FAILED. One more attempt". What happens if I get this final attempt wrong? How do I continue with update if I can't remember this passcode?
  • How to bypass passcode on ipod 4g (6.1.6) and iPhone 4s (7.1.2)? So basically what the title is I want to know how to bypass the passcode on those devices with those ios versions but I don't want to use a PC to do it and I only want to bypass the code not reset it I want to do it as a trick at school to a friend like all it needs to do is open a file that can't be open by the lockscreen or if possible have access to everything. I don't mind if it only works with one of them but please respond to this question so I can do it.