They could have vaccinated their population while they were maintaining zero-COVID. It's a mystery to me why they didn't make vaccination mandatory.
To make vaccination mandatory they'd have to admit, kill off their own producers and import. It'd be a political disaster.
The reason PRC never said it publicly is because that would have been terrible for them politically as well.