Check if the user account is locked type in the command:
net user loginname /DOMAIN | FIND /I “Account Active”

Unlocked locked out user
Net user loginname /DOMAIN /active:YES

Reset the password
net user loginname newpassword /DOMAIN /Active:Yes