An electronic apparatus includes a circuit portion that is configured to control an operation of the electronic apparatus and a heat-activated mechanical switch including, for example, a shape-memory material. The shape-memory material has a property such that the shape-memory material assumes a predetermined shape when the electronic apparatus is heated to a transition temperature. The shape-memory material disables the apparatus by acting on the circuit portion when the shape-memory material assumes the predetermined shape.