If you rush out there with treats to distract them they will rapidly learn to scream to get treats. That's one big no-no. Whatever you do, try to keep your stress levels as low as possible or it's counterproductive.
Noisy animals will somehow pick up on your stress levels amazingly well and respond by becoming noisier. The more you stress the noisier they tend to get, since even if no other reaction from you is observable, it's still a reaction successfully obtained. It's probably got something to do with their boring, caged lives --- if the main activity they see daily from outside the cage is in response to their noisemaking, that's stimulation received in reward for their noisemaking, and they do crave stimulation.
I've dealt with noisy animals of various species over the years, and if you don't give a rat's proverbial, they quickly learn to shut up or try other methods of getting attention. If you respond with stress, even if you don't give them treats or interact directly with them, they have still achieved something just by the fact that you reacted --- they've gotten recognition, attention, and while it seems pointless it's still often all they need to keep repeating the cycle.
If they have food present from dawn onwards this should quieten them, whereas if you have to supply food (or water) anew daily, they can rapidly learn to yell or complain until you hurry up, when there is an absence. Sometimes the so-called 'egg song' is their main entertainment for the day.
You can try using a water squirter or some sprinkler attached to their cage which you can turn on, out of sight, whenever they go off, but of course this will end up making mud which can help make stink if the soil is unhealthy. If you personally have to visit them to administer punishment there is a risk that they will up the ante and begin screaming, not just yelling, and become more vocal, for longer, and louder, and anxious too. It sometimes works to stand there with a squirter and target the ring leader since there is almost always one who leads the chorus. They can learn to quit, usually. But some are particularly stupid or determined.
A time-out box often helps with some but not with others. This is preferably a box with a solid top half and mesh bottom and lower walls like an upside-down cat carrier, so if they prefer to stand and scream they're hurting their own hearing due to the acoustics; most hate that and stop, though some will lower their heads to continue with better range. For the truly determined individual that won't work at all.
Sometimes exposing them more helps, sometimes concealing them more helps, in terms of general cage structure. If they feel exposed they may quieten down to avoid attracting predators, but conversely some will become louder under such circumstances. We used to thatch the mesh walls with pine boughs for winter to stop excess wind and the chooks would become very quiet and secretive in their now darker, more jungle-like cage. Not that they were usually shrieking though, or being overly vocal anyway. Similarly, cage enrichment can help by distracting and stimulating them. If they like to stand and scream at any given point, walling it off can also help.
I often suggest people who want to keep chooks move to a place where they can do so in peace; I know it's not easy for everyone but I've moved house so many times throughout my life it seems almost like a non-issue. You get practiced at it I guess and not owning a house helps. This will potentially be an issue that crops up again and again if you continue to live in suburbia.
Best wishes with your conundrum.