Yes, which is why they are the ones being told to stay home which reduces their chances of getting chickenpox. Those who are vaccinated and who are therefore probably at no risk, are not being told to stay home.
The measures are targeted specifically at those at risk, and at risk of spreading the infection further.
Except — are the police going to stake out the homes to make sure those kids don’t go visit their friends, and therefore spread the disease anyway?