Hello,
I see you apparently have disabled accounts, but have not provided the exact error message which would indicate a specific solution. The support article If your Apple ID is locked or disabled - Apple Support has solutions for two frequently encountered reasons for an account to be disabled/locked:
● If the message says "your account has been 'disabled in the App Store and iTunes Store" or "locked" then you must contact Apple; you cannot resolve this yourself. Apple provides a link for this specific issue. Tap or click here --> https://getsupport.apple.com/?caller=kbase&PGF=PGF63005&category_id=SC0245&symptom_id=23362 .
● If your account has been disabled for security reasons the solution is to reset your password as outlined in this document: If you forgot your Apple ID password - Apple Support
If you are unsuccessful you may need to request account recovery as outlined in this document How to use account recovery when you can’t reset your Apple ID password - Apple Support , or additional assistance from Apple Security: Contact Apple for help with Apple ID account security - Apple Support
If you can still sign into an account you can investigate adding more ways to get a code such as multiple telephone numbers where you can receive a text or a phone call. This is from the section "About trusted phone numbers and trusted devices" in the article: Two-factor authentication for Apple ID - Apple Support :
To see, add, or change your trusted phone numbers use one of these methods:
● On your iPhone, iPad, or iPod touch: Go to Settings > your name > Password & Security. Next to Trusted Phone Number, tap Edit.
● On a Mac computer choose Apple menu > System Settings (or System Preferences), then click your name (or Apple ID). Click Password & Security, then add or remove a trusted phone number.
● Using a web browser: Go to the Account Security section of https://appleid.apple.com .
If you had set up an Account Recovery Contact ( Set up an account recovery contact - Apple Support ) you can also get a code that way.
If you can’t sign in, access a trusted device, reset your password, or receive verification codes, you can request account recovery to regain access to your account. This article explains how to recover your Apple ID after a waiting period - How to use account recovery when you can’t reset your Apple ID password - Apple Support
You may also wish to read the articles 'Two-factor authentication for Apple ID' ( Two-factor authentication for Apple ID - Apple Support ) and 'Get a verification code and sign in with two-factor authentication' ( Get a verification code and sign in with two-factor authentication - Apple Support ). Various sections contain information that is useful in understanding about the trusted devices (an iPhone, iPad, or Mac that Apple knows is yours) system, and how to get a verification code on a trusted device or at a telephone number.