If you enter "/locate <Structure>" in the world where the "Generate Structures" is disabled, then the world is frozen (until you close the game forcibly (through the task manager), the progress in it is not saved, and the teams do not work).
Linked issues
Comments

Thanks for the report; however this is a duplicate of MC-126244.