As we have discussed here on the board, it is common practice for schools to be closed short-term during viral outbreaks. It is long-term school closures, particularly in places without rampant or fast-growing spread, that are – in my opinion, which I hope you’ll allow me to have! – more harmful than helpful.
I assume you are asking about such short-term closures, in the cases of the UK and Sweden.