col owner format a8
col object_name format a35
col os_user_name format a15

select lo.INST_ID, lo.SESSION_ID, do.owner, do.object_name,
lo.ORACLE_USERNAME, lo.OS_USER_NAME, lo.PROCESS
from gv$locked_object lo, dba_objects do
where do.object_name like upper('%&object%')
and do.object_id = lo.object_id;