locks and resource types analysis