Hi Pradmo,
If your delete method throws SecurityException and RecordNotFoundException, a simple way to code it should be like
The call to delete() method should be preceded by a call to lock(), but it is perhaps not safe to count on lock() to performs some work which must be made by delete().