If someone repeatedly enters the wrong password on your iPhone or iPad over and over again, it will eventually start to delay the amount of time before you can try to enter the password again. That's what allegedly happened to one man's iPad, according to CNN. The man's iPad was accidentally locked by his 3-year-old for 48 years, until 2067.

CNBC spoke with the father who explained that it was a first generation iPad running older software. Newer software locks you out after 10 tries and doesn't continue to run up the clock, though you would still be locked out.

If this happens to you, there's an easy fix to get your iPad back up and running, and you won't lose any data if you've been backing it up regularly. If you didn't back it up, at least you'll be able to use your iPad or iPhone again without having to wait a few decades.

Here's what to do if you get locked out of your iPad or iPhone.