The apparatus commonly used in the laboratory to show expansion on heating is the ring and ball apparatus.
In this experiment, the ball cannot pass through the ring due to its expansion, but the same ball can pass through the same ring when it is cooled down.