CN Rail will spend $250,000 installing 1,900 high-security locks on switches across the country this year in response to the derailment of a Via Rail train that went off CN tracks near Stewiacke, N.S.