Witam. Wiecie moze do czego służy polecenie:

grant execute on dbms_lock to "username"