This means shouldUnlock has the same meaning as detectDeadlock, which means "detectDeadlock" probably misnamed. 

This method needs javadoc.