locks graphs are created dynamically