expand locks to preclude detected races