States of emergency have been called in the past for various regions in Western Europe where violent separatist movements were active, but those moments have mainly abated, and besides, Western European governments these days are not so fond of mass surveillance as China.
Just across the strait of Gibraltar, however, one does encounter a similar situation in Morocco, namely in the region of Western Sahara which Morocco occupied back in the 1970s. Western Sahara is historically populated by a different ethnicity (the Saharawis) who chafed at Moroccan control of the region. Foreigners traveling on the roads through the region will encounter a long series of police roadblocks, and police do occasionally demand social-media accounts and passwords from travelers. The situation is vaguely like Xinjiang, although the Moroccan police are much more laidback, so a person can refuse to give them information and just bullshit about not having Facebook or Whatsapp. Compared to the very organized and rigorous Chinese police state, the Moroccan forces are pretty amateur.