Hi,
Why do you want to delete locks....
Do you have lock table overflow? if yes please increase the system parameters.
Why the locks are not cleared automatically? You need to find the root cause if the lock are staying there for ever...
Delete lock entry can cause inconsistency in the system.
Can check the below blog for the deleting locks but not recommended...
http://scn.sap.com/thread/2005368
Check with the users / process owners before deleting it and see if you see any lock at db in db01 related to that user.
Thanks
RishI abrol