Two ways to go:
1) Recover the account. If you find you can’t sign in, reset your password, or receive verification codes, you can request account recovery (go to this document: How to use account recovery when you can’t reset your Apple ID password - Apple Support ) to regain access to your account. Account recovery might take a few days or longer, depending on the specific account information you can provide to verify your identity.
2) ● Reset device if you can prove to Apple's satisfaction you are the owner:
Apple can completely reset a device if a person can provide sufficient evidence of valid ownership. This is done online* at: Activation Lock support request - https://al-support.apple.com/#/additional-support Apple says, "Proof of ownership documentation is required," but does not provide many details in the article as to what is acceptable proof. Prior to this official service Apple typically required the original receipt** issued by Apple or an Apple Authorized Reseller and documented provenance (so typically it would be the first owner who does this, or a descendant with legal proof of ownership transfer). Note that while this will let you get use of the device again, it will not help you with lost access to an account.
Apple recommends you "Keep your receipt after you buy an Apple device" --> Keep your receipt after you buy an Apple device - Apple Support