If you're unable to login over to Remote Desktop due to this error it's due to the default lockout policy for your OS install is set to lock the account temporarily after so many login attempts. You can either disable the lockout policy completely or change it to a different threshold.
As a security precaution, the user account has been locked out because there were too many logon attempts or password change attempts. Wait a while before trying again, or contact your system administrator or technical support.
Follow the steps below or go to the following group policy setting in your Windows server,
Access the Control Center,
Dive into Computer Configuration to customize fundamental settings at the heart of your system.
Explore the Windows Settings section to fine-tune configurations specific to the operating system.
Enhance your system's security posture by navigating to and configuring Security Settings.
Locate and customize Account Policies to dictate the rules governing user accounts on your system.
Delve into Account Lockout Policy to establish protocols for handling account lockouts.
Fine-tune the Account Lockout Threshold to strike a balance between security and user accessibility.