consolidate locks