Even the wild west had places you could not carry guns freely.
Guns were obviously widespread on the frontier. Out in the untamed wilderness, you needed a gun to be safe from bandits, natives, and wildlife. In the cities and towns of the West, however, the law often prohibited people from toting their guns around. A visitor arriving in Wichita, Kansas in 1873, the heart of the Wild West era, would have seen signs declaring, "Leave Your Revolvers At Police Headquarters, and Get a Check."
When Dodge City residents organized their municipal government, do you know what the very first law they passed was? A gun control law. They declared that "any person or persons found carrying concealed weapons in the city of Dodge or violating the laws of the State shall be dealt with according to law." Many frontier towns, including Tombstone, Arizona--the site of the infamous "Shootout at the OK Corral"--also barred the carrying of guns openly.