Every time they go through the transporter.
And, come on, disassembling Lore isn't killing him any more than pushing his off switch. I both case he's deactivated, just in the latter state it's more work to turn him back on. The bigger question is dos Starfleet/the Federation have the right to "deactivate" anyone?
True when was the last time when a human being was deactivated?