2FA with backup codes works just like regular 2FA. The only difference is that backup codes are included for emergencies, such as your phone running out of battery. In such cases, you can use a backup code to gain entry while still abiding by the principles of two-factor authentication.