Yes, there are some exemptions.
Below I collected the most common as each municipality has its own rules and regulations. The following, however, are shared with pretty much every municipality. Those who are exempt are:
a) residents in the municipality;
b) people with disabilities, with suitable medical certification, and relative accompanying person and parents who accompany children with disabilities;
c) patients in healthcare facilities and accompanying family members;