Short for LOCO-FOCO 2.

1

1841.  H. Clay, Lett., 4 July, in Private Corr. (1855), 454. The Locos are … opposed to the scheme.

2

1847.  Emily Dickinson, Lett. (1894), I. 67. To say nothing of its falling into the merciless hands of a loco!

3