Even if they’re often symbolic, these bans serve as a means for local leaders to garner attention or advocate for change.