Hello, lets see if we can figure this out. Just so I am on the same page as you, do you have an iPad with a passcode lock and you are unable to unlock it?
These can be frustrating situations. There is no alternate way to gain access to the device without typing in the correct passcode. The only solution would be to restore the iPad to factory settings using iTunes. There are good odds that the device is also locked with Apple’s Activation Lock. This means that once the iPad is restored to factory settings you would need to sign in with the device’s associated Apple ID in order to set the device up as new or restore its contents from a backup.
To restore your device please follow this guide on Apple Support.
https://support.apple.com/en-us/HT201263