Think of it like leaving a copy of your house key in an unlocked mailbox: convenient in the moment, risky forever after.
If Microsoft shows Your account is temporarily locked to prevent unauthorized use, the sign-in system has paused access ...