The freeze gun is located in the Clock Tower. To get to it, you must first complete the main story. Then, head to the Gotham Observatory and grapple up to the roof. The freeze gun is in a glass case on the far side of the room.