We use USR02 table for checking the status of an user whether user is locked or not.
| 0 | Not locked |
| 16 | Mystery values |
| 32 | Locked by CUA admin (User Admin) |
| 64 | Locked by system Administrator |
| 128 | Locked due to incorrect logon attempts or too many failed attempts |
| 192 | A combination of both. The user is locked by admin and user tries to logon with incorrect passwords and gets locked ( 192 = 64+128) |