The pins/bolts don't allow the caliper to move, the metal sleeves that the pin goes through the casting, and move on an O ring usually inside of the caliper casting.
You can slide the pins in and out all day long, but the sleeve that they go through is likely bound up, likely only one is seized.
About a year ago my neighbor across the street was swearing up a storm and beating the hell out of something inside the fender. I walked over there to find he had already replaced the brake pads on the passenger side, but after putting the new pads in the drivers side he couldn't get the caliper back on over the rotor, He is far from mechanically inclined, he is a maintenance man in an apartment complex, mostly painting, hanging new doors etc.
I found one of the slide sleeves was so badly frozen I had to beat it out of the caliper with a hammer. Took it back to my garage and wire brushed it so it was again shiney, and slide in the O ring in the caliper. Slopped some silicone grease on the sleeves, and down the road it went. 2010 K1500 with about 3 feet of the frame missing due to rust under the cab. Told me he sold it to a new american from south of the border.
Anyway whenever doing a brake job those sleeves should be removed and cleaned up, then coated with brake caliper lube before reassembly, replacing the O rings isn't a bad idea either.
I hope this helps you out...........