it was the 1950s.
I thought the same thing. Why would they leave a 9-year-old kid alone in an apartment? And even worse, the dad locked him in one room.
...and the result is a much better film than Home Alone.
The 1940s, actually.