Accidentally restored iPhone 6, and have restrictions?

I just bought an iphone 6 and I accidentally restored it from my old iPhone 4 backup. I didn't realize what I did tip after i did it. So i tried to restore to factory settings and I had restrictions. I went to my mother (who set them), she typed in the correct passcode and she said it won't let her go on. Now its locked in for 15 minutes. IIm freaking out. Please help As soon as possible.

Added (1). Great now it says an hour because my mom decided to fill around with it again

If you've reset the iPhone to factory settings then the passcode your mother entered will also have been reset. Details of the steps required are here: https://support.apple.com/...b/HT204306