Rail freight traffic in Canada came to a standstill early Thursday as the country’s two main rail companies locked out about 10,000 employees, a move that could cause supply chain disruptions in the United States and serious economic consequences within Canada.