When a user profile on IBM i is locked, the user cannot log in. To resolve this, log in as an administrator and use the command CHGUSRPRF
with the option STATUS(*ENABLED)
to unlock the profile. Ensure the password is correct and security policies are followed.