Presumably deleteRecord must free up any lock i.e. there is no concept of a locked deleted record sounds like a no brainer but if there automatic tool says .. no then explaining your choice in choices.txt won't help ;-)
i.e. no need to ...
lockRecord deleteRecord unlockRecord // unecessary ?? / should fail with no such record
"Eagles may soar but weasels don't get sucked into jet engines" SCJP 1.6, SCWCD 1.4, SCJD 1.5,SCBCD 5