Apple trusted devices
Thanks for asking the Apple Support Communities for help with two-factor authentication. Please see the options provided in this help article: Two-factor authentication for Apple ID under the section titled "What if I don't have access to a trusted device or didn't receive a verification code?" Thanks and have a great weekend.