1、查询出那个会话(session)、端口(port)被锁,用如下语法
SELECT sid, serial#, username, osuser FROM v$session WHERE sid in (SELECT session_id FROM v$locked_object);
2、杀死这个sesion
ALTER SYSTEM KILL SESSION '2880,36194';