スイッチがはいる

Verb

 * 1)  a switch is flipped
 * 2)  someone's mood or thinking changes, as if a switch is flipped in their mind