So you go to enter your password and it appears you may have forgotten it.
So you enter it again , that doesn’t work , then you try again and again.
If you do this , you will be locked out , as most of the big companies , for example Google , Microsoft , Apple will believe that you ( or someone else ) are trying to get unauthorised access and will require you to reset your password.
If you have done this use the “Forgotten Password” and reset your password.
While you are there give them your mobile phone number so you turn on 2 factor authentication.