St Nicholas School will be closed to all children except those of key workers until at February half-term when this will be reviewed by the government.