In brief, in order to be inadmissible to Canada, the alleged crime has to be both a crime in the country where it occurred and in Canada. Peaceful protest is not a crime in Canada, so if someone is accused of peaceful protest in China, even if that's a crime in China, that person would not necessarily be inadmissible to Canada.
On October 4th, 2022. See this statement in context.