Oracle Solution for Error ora-31103

Solution for Oracle Error ORA-31103

ORA-31103: Resource locked in shared mode. Cannot add exclusive lock

What triggered the Error:

The resource is locked in shared mode. Cannot add a shared lock.

What should we do to fix it:

Try locking in shared mode or unlocking the existing lock.