Robert,
Dan has you going in the right direction on this. The SVC00205 table is the SVC_Service_MSTR_Line_Access table. Instead of doing a "DELETE * " on it, I would first run a select query and see exactly which RMA documents are locked.
This can happen fairly often if users close out improperly while they have an RMA open. Sometimes you can find out who has the record locked, have them open that RMA and save it, which will then remove the lock safely.
Contracts can also end up in a locked status sometimes. That table is SVC00640.
What I did was create a .sql file called " clear locked RMA or CONTRACT.sql ". That way when I need to clear a locked RMA or Contract I open the file in SSMS, Change the restriction as needed and then run the DELETE query with the correct restrictions.
---------------sql query ---------------
/*
/** For locked RMA **/
select * from
----delete
SVC00205
where SVC_Document_Number = 'RMA000000004xxx'
/** For locked Contract **/
select * from
----delete
SVC00640
where CONTNBR = '0000099999'