Question marked as
Best reply
See the Erase your device with recovery mode method in If you forgot the passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support