Recovery Mode: Connect iPad to a computer > open Finder (Catalina or later) or iTunes > restart > Update from the recovery screen. If you don't have access to a computer, use iCloud to wipe the iPad ...
Phone locked? Here’s how you can unlock it using recovery mode, even when repeated passcode attempts leave the device inaccessible.