You have 10 tries to successfully enter the correct Authentication Code. If you are unsuccessful after the 10th try, you will be locked out for 30 minutes. Once the 30 minutes have passed, you can try again.

You might be interested in the following questions
1. How does Two Factor Authentication for Sign In work?
2. How can I turn on Two Factor Authentication for Sign In?
3. I am unable to see the email option for Two Factor Authentication for Sign In, what should I do?
6. My mobile number is updated, but I am not getting a Two Factor Authentication Code for Sign In?
8. How I can turn off Two Factor Authentication for Sign In?