If you use two-factor authentication and can’t sign in or reset your password, you can regain access after an account recovery waiting period.| Apple Support
An account recovery contact can help make sure that you always have access to your account, even if you forgot your Apple Account password or device passcode. Learn how to set up a recovery contact on your iPhone, iPad, or Mac.| Apple Support