Question: how to fix your iphone when you get locked out?
Answer: Connect the iPhone to a computer it has synced to before with a USB cable and launch iTunes. Choose “Sync” in iTunes and enter the proper passcode when requested to unlock the device, this backs up the iPhone to the computer. Choose “Restore” to restore the iPhone from the most recent backup.