If a city mandates locking up inventory, but only for gun shops, that is an unequal application of the law. Make every business lock up their inventory. Hardware stores. ice cream shops, whatever.
All jewelry stores that I know of do it as a requirement of their insurance carriers. I never understood why all firearms dealers don't.