Cuba is defeating Covid-19 with lots of attention and strict isolation measures.
They are not very different from Taiwan. Although Cuba disrespects human rights — even occasionally to the point of murdering dissidents —
I think these measures are legitimate when used temporarily in an emergency.