Question: what to do if iphone got disabled?
Answer: On your computer, start iTunes and connect your iPhone using a USB cable.
Start your iPhone's recover mode. ... 
On your computer, click "Restore." ... 
After this process completes, your iPhone will be reset to its factory conditions.