Some editions of Windows 10, such as Pro, come with Microsoft Hyper-V virtualization software. If you have one of these editions, you can install Hyper-V by right-clicking Start, choosing "Programs and Features" at the top, then clicking "Turn Windows features on or off" in the right sidebar.
Once you have Hyper-V installed, and you have restarted your computer, you can create a virtual machine and install Windows XP on it. Or you might try Windows 7 in your VM, and see if that will let you run your game.
If you don't have W10 Pro, you could try upgrading. I just checked, and my cost to upgrade W10 Home to W10 Pro would currently be $99.99 US. Not sure if that's something you're willing to consider or not.
Hyper-V might possibly have better support for graphics acceleration than VirtualBox or some of the other alternatives. I can't say for sure, though.