Question: what to do if iphone is disabled due to wrong passcode?
Answer: If you enter the wrong passcode too many times, you will be locked out of your iPhone. There's no way to bypass the passcode without factory resetting the phone. Using iTunes, you can reset your disabled iPhone to its factory settings and then restore your apps and data from a recent backup.