Delete dead locks (if a lock belongs to a process which doesn't exists)