In mainland China authoritarianism played a part but people made a lot of efforts by themselves, not out of fear, like in Taiwan and Korea.
I think that's one of the main problems we're having in the UK. Too many people have zero civic sense and complain about their "freedoms being infringed" instead seeing the big picture that in an epidemic everyone must act together for the group at the cost of individual sacrifices.