There is a very effective recovery strategy - common to just about every computer system there has ever been... it’s called backup - and restore.
Unless you have a backup of your important data before disaster strikes, it’s too late to consider the consequences after something unforeseen occurs.
Likewise, had you been using Photos in iCloud (perhaps you have been?), then your Photos are still safely stored in iCloud. If so, these will be accessible using your AppleID credentials from any web browser:
https://icloud.apple.com
If you aren’t using Photos in Cloud, or some other cloud service, or manually backing-up important files and data to other storage, then assigning blame to the security architecture for data loss is perhaps misplaced. Your iPad has admirably performed its security function as designed...
Attempts to enter the incorrect passcode denied access to your photos and sensitive data; repeated attempts to enter the incorrect passcode (and there have to be a lot - spread out over an extended period) caused the iPad to automatically disable access. This security feature is intended to ensure that brute-force efforts to access your data cannot result in compromise of your data. If it were easy to “extract” you data using another computer, the principal/core security features of iOS/iPadOS would have failed.
Perhaps there are two essential leaning points here.
1) If your Photos and data are important to you, it is necessary good practice to maintain a backup of critical data. You can either use the automatic capabilities provided by the Operating System, or manually backup to another storage location.
2) For any computer with a Password or Passcode, be aware that its purpose is to deny access to those that don’t not have the appropriate credentials. The security features of a robust and effective security architecture may, by design, permanently deny access to locally stored data if repeated attempts are made by unauthorised users to obtain access. In this instance, the “computer” has an encrypted file-system that is designed to inhibit unauthorised access.
I strongly recommend that you explore the possibility that you do have your Photos synchronised with iCloud. If not - and you have not taken the precaution of having a backup - I freely acknowledge that it’s a bitter lesson to learn. You’re not the first - and certainly won’t be the last to make this discovery the hard way.
To conclude, technical failure was not the cause of data loss.