So, I'm using dbms_lock to prevent some procedures run at the same time as other procedures.
How exactly could I get a report of locks in system acquired by sessions via dbms_lock? I think there should be something with sys.gv_$lock and sys.dbms_lock_allocated, but don't know exactly how.