Place it at the start of a scene, just as the locomotive enters the frame, then follow it with a bell ding for a railway crossing moment. Put railway ambience underneath first, then let the whistle lead before the next scene begins.