Hello roderick58,
Thanks for reaching out to the Apple Support Communities. We understand you are looking for some information regarding logging into your Apple ID with Two Factor Authentication enabled. We are happy to help provide some guidance.
To start, we'd like to get a bit more information on the device you are using when trying to log in to your Apple ID and it is asking for that verification code. When you are trying to log in, are you doing this from a Mac or a PC? When you are prompted to enter in your Apple ID and password, is there any additional text in the popup box that provides further direction on where to enter the code? Some older versions of macOS require the verification code that you are sent to be entered in the same line as the password. For example, when prompted to enter the password again after you get that verification code sent to you, you would enter it right after your passcode like this: "[password][verification code]"
Keep us updated on how it goes and what displays in the pop up when it asks you to enter the passcode again after getting the verification code.
Cheers.