Here's one from EF: If the "to" is used as the "infinitive marker," then obviously it must be separated, and the "in" would be an adverb. You must put the plug in to make the device work. There are other types of cases which I can't call to mind at the moment.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.