Search notes:

DBMS_LOCK.ALLOCATE_UNIQUE - ALLOCATE_UNIQUE_AUTONOMOUS

dbms_lock.allocate_unique writes (insert) or updates (update) the/a corresponding entry in dbms_lock_allocated and then commits the session.
allocate_unique_autonomous is the same as allocate_unique except that it performs the modification in dbms_lock_allocated in an autonomous transaction.

See also

These procedures clean up dbms_lock_allocated at every 100th attempt to to create an entry into that table.
dbms_lock

Index