If you forgot the passcode to your iPad, or the device has been disabled, you can restore and unlock it with a computer or the Find My Website or app.
You can reset an iPad to its factory settings if you're experiencing significant problems with it or are planning to sell it or give it away.