alter user peter_mayer account unlock;
select username, account_status, lock_date from dba_users where account_status like '%LOCKED%' -- might also be 'EXPIRED & LOCKED' ;
Index