To reset or change your iPad's passcode, you can use the "Passcode" menu in your Settings app, or reset the entire device.
If you need to fix a serious issue, or you're planning on selling your phone, knowing how to factory reset a Google Pixel is ...