If you forgot the passcode to your iPad, or the device has been disabled, you can restore and unlock it with a computer or ...
To reset or change your iPad's passcode, you can use the "Passcode" menu in your Settings app, or reset the entire device.