No employee of a steam or electric railroad company shall operate a locomotive, train or crossing gate in such a manner as to unnecessarily prevent or interfere with the use of a highway for the purpose of travel.