Bonfires are usually lit when necessary (plus on and around Bonfire Night). Windows can be closed - being in the midst of a cloud of smoke will affect breathing; but a distant whiff of a bonfire? No - just close the windows! Coronavirus isn't spread by burning garden waste!
Are you being deliberately provocative or just dense? Medical advice for those who think they have Covid 19, and are self isolating, is that they should sleep with a window open to help with breathing difficulties, which are a frequent symptom of the virus. How is someone in this position supposed to follow that advice when some idiot has lit a large bonfire three doors away? Believe me, you get more than the odd whiff of smoke.