This procedure returns a result set that shows the current status of users. In addition to basic user information, the procedure
includes a column indicating if the user has been locked out and a column with a reason for the lockout. Users can be locked
out for the following reasons: locked due to policy, password expiry, or too many failed attempts.