1) unlock oracle user:
faillog -u oracle -r o
pam_tally2 -u oracle -r
pam_tally2 module is used to lock user accounts after certain number of failed ssh login attempts made to the system. This module keeps the count of attempted accesses and too many failed attempts.
2) disable account password expiration:
chage -d 0 oracle