The North American Thomas happens to live at the Strasburg Rail Road here in Pennsylvania. This Tomas was surgically altered to resemble the original, but is an operational, full sized tank engine and can happily pull a real train of happy kids and parents pretending to be kids again. He is supposed to be hidden when not on display, or traveling up and down the east coast, but can often be seen hiding in a shed peaking out at the visitors.
Thomas is a permanent resident?! Groan. In 2018 we went to Strasburg with our nephew with the intention of riding on the Strasburg Railroad...but Thomas had attracted such a huge crowd we skipped it and drove over to and rode the Colebrookdale Railroad, instead.
I see someone already mentioned the newer LWW film, but the first thing I thought of when I saw the title of this thread was the old BBC version of The Lion, the Witch, and the Wardrobe. The train scene starts at 0:33.
Also, I don't see a mention of Harry Potter yet. I have not seen all the movies and can't give an exhaustive list of train scenes. There are definitely some in the first three movies, Half Blood Prince, and Deathly Hallows. I am getting many results when I search "harry potter train scene" on YouTube. This is the first one.