enum PasswordState

The states of a password.

References from:
UserAccount;

0
VALID
The password is valid based on system time, password changed time, and aging policy.
1
EXPIRED_MUSTCHANGE
The password is expired based on system time, password changed time, and aging policy.

The user is forced to change password at next login.
2
EXPIRED
The password is expired based on system time, password changed time, and aging policy.

Password authentication is locked.
3
LOCKED
The password is locked due to failure attempts exceeding configured limit.
  enum PasswordState