An iPad passcode cannot be recovered, reset or modified from another device. iPadOS 15.2 or later with a forgotten Passcode. Apple has introduced a new procedure with which to reset an iPad or iPhone with a forgotten Passcode - allowing you to use your AppleID and associated Password to reset your device. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.