Hello, my name is Daniel.
Are you talking about the lock it requires you to enter when you 'slide to unlock" ?
Also, does your phone show 'iphone is disabled' or is it locked for '15minutes' ?
Do you have your information backed up to iTunes?
Ok. Follow the below instructions.
With the phone on.
1. Plug it into the computer.
2. Hold the power + home button down at the same time until the phone screen goes black (ignore the slide to power off prompt).
3. When the screen goes black, RELEASE the power button but keep holding the home button
4. Watch iTunes! When you see "iTunes has discovered an iPhone in recovery mode" RELEASE the home button. The screen should remain dark at this point, if there's something on the screen then your timing was off and you'll need to retry. Click on 'restore' and thats it.
Let me know if you have further questions so we can make sure this works for you, if not, please click ACCEPT. This is how experts are credited for their work. You won't be charged additional for this.