I recently purchased a new laptop that came with Windows 10 pre-installed as the OS. I downloaded the Ultimate Collection of Sims 2 from Origin and it runs perfectly on this pc. It loads fast, the graphics are sharp and best of all, all the custom content I have amassed over the last 10 years work as well.
The PC is a Toshiba Satellite C55t-C
Processor: Intel Core i3-5020U
6 GB memory
64 bit OS Windows 10
930 GB hard drive
I hope this answers you questions about the compatibility of Sims 2 and Windows 10.