TORONTO — Canadian National railroad is ending its lockout immediately and moving forward with a plan to get its trains moving again following a government order Thursday to enter forced arbitration with its labor union, according to a rail official.