CLRS21LCK – Clear JBA System 21 Locks
There are many record lock files in the JBA/GEAC System21 ecosystem. Company code locks and SOP Order header locks can be easily reset using this tool:

This nifty little command clears and resets all lock in the Sales Ledger, Purchase Ledger, Inventory, Purchasing and Warehousing modules.
It also resets SOP order locks.
And clears the JOB IN USE setting in JBA System Manager.