>You can buy and play Windows XP era games on Steam and run them just great on Windows 10/11.Or older (pre-Steam) games in a virtual machine.
Hyper-V comes with Pro versions of Windows. VMWare has a Player that is also free (plus there's full Workstation). There's also VirtualBox, which sometimes is the packaged solution for very old titles sold on platforms like GOG. Never mind the solutions for Mac OS, Linux and BSD.
Recently my jam is going back to 1994 and playing a game from the Windows 3.1/Windows 95 transition era, rife with 16-bit libraries -- Mordor: The Depths of Dejenol. A game in which it was likely a lot of older folks here played the crap out of the demo, but never bought the game because it involved sending a check in the mail -- and because even the demo could provide hundreds of hours of enjoyment. Though you can legitimately buy it online from its current IP owner for about $10 (more if you want a boxed copy!), and it's just as fun as I remember it 30 years ago.
And setting it up in a virtual machine? Very straightforward, save for digging up some third-party audio library the game wanted. I actually just have a 40GB Windows XP VM I just maintain with all my old games from DOS and Windows 3.1 through 2002 or so. I can move it between hypervisors, between host OSes, etc. Just works. All my old games always ready to go.