In the Polar Express film, there is a scene where the Polar Express runs off the tracks onto a frozen-over lake, which supports it and doesn't collapse even after the locomotive tilting and hitting the ice with force twice. (This is disregarding the crack from the pin.)
This Reddit post calculates out that
it would take at maximum 2.895 m (9 ft. 5.95 in) of clear freshwater ice to support the Polar Express weighing in at its maximum 825 US tons ["the fully fueled Pere Marquette 1225 @ ~425 US tons and 5 passenger cars high-balled @ 80 tons each"].
Would a standard-gauge locomotive like Pere Marquette 1225 (either steam or diesel), placed on sufficiently thick ice, and its throttle applied, move? Or would it stay in place and have wheel slip?