ORA-28000: the account is locked
*Cause: The user has entered wrong password consequently for maximum
number of times specified by the user's profile parameter
FAILED_LOGIN_ATTEMPTS, or the DBA has locked the account
*Action: Wait for PASSWORD_LOCK_TIME or contact DBA
You can check if this is one case or the other one with the status of the account in DBA_USERS.
If it is the case of "ALTER USER ACCOUNT LOCK" then the status is like "%LOCKED".
If it is the case of bad logins then the status is like "%LOCKED(TIMED)".