If your iPhone/iPad indicates that it is disabled/unavailable/locked-out, or you have forgotten your iPad passcode, you have no alternative other than to follow this process:
If you’ve forgotten the passcode on your iPad, or your iPad is disabled – Apple Support
You’ll need access to either a Windows PC (with iTunes for Windows installed) or a Mac (with iTunes or Finder - as appropriate for the installed version of macOS).
Download and use iTunes for Windows – Apple Support
Update to the latest version of iTunes – Apple Support
Use of a PC or Mac is unavoidable. If you don’t have access to a suitable computer of your own, that of a helpful friend or family member will suffice. Alternatively, the technicians at the Genius Bar of your local Apple Store will be delighted to assist:
Genius Bar Reservation and Apple Support Options - Apple
If your iPad is not recognised by your computer, or fails to restore, try using a different USB port. Many reports seen here suggest that where the process fails when using the host computer’s USB-C port, instead using a Type-A USB port will allow the restore process to complete. Otherwise, this support page may help with troubleshooting connection issues:
If your computer doesn't recognize your iPhone or iPad - Apple Support
AppleID
You may also need your AppleID and associated password. If these have also been forgotten, they can be recovered here:
https://iforgot.apple.com
To recover your credentials, you’ll need access to one of the following:
- Your primary email address mailbox that corresponds with your AppleID
- Any of the secondary/recovery email addresses that should be configured for your AppleID account
- Any of the trusted telephone numbers (fixed line or Cellular/Mobile) that are associated with your AppleID
More information about recovery of your AppleID and associated Password:
If you forgot your Apple ID - Apple Support
If you forgot your Apple ID password - Apple Support