A man in Washington, D.C., was locked out of his iPad for more than 25 million minutes, or 48 years, after his 3-year-old tried to use it. While the 48-year lockout seems extreme, it’s part of typical Apple product security features.
The only answer is to reset your iPad or iPhone using iTunes. This may require a hard reset of the device after which you will lose data. According to Apple’s website, if you had backed up the device on iTunes, you can restore it. But if not, you’ll have to accept a clean slate.