Without a receipt it is very unlikely Apple will reset your device. Therefore your best bet is to try to regain access to your account.
To see how to get a verification code and sign in with two-factor authentication' click here --> Get a verification code and sign in with two-factor authentication - Apple Support
If you have a trusted device running iOS 9 and later, OS X El Capitan and later, iPadOS 13 and later, or watchOS 6 and later, the verification code is displayed automatically on your trusted devices.
- Use a Trusted Device: Mac, iPhone, iPad, Watch. Code is either generated automatically or manually using Settings on the Trusted Device.
- Get a code from an Account Recovery Contact --> Set up an account recovery contact - Apple Support
- Instructions at the end about what to do if you cannot get a code and need to use account recovery.
If you lack a way to view a verification code but can still log into your Apple Account, you can add a way to get a code. "You can manage your trusted phone numbers, trusted devices, and other account information from your Apple ID account page." Click here --> https://account.apple.com/
From: Two-factor authentication for Apple Account - Apple Support
If you can’t sign in, reset your password, or receive verification codes, you can request account recovery to regain access to your account [ How to use account recovery when you can’t reset your Apple Account password - Apple Support ]. Account recovery might take a few days or longer, depending on the specific account information you can provide to verify your identity.