If you need to replace Works there are probably a few other programs you can try. If nothing else there are things like OpenOffice that do the same thing, use the same files and come as a free download.
https://www.openoffice.org/download/
Download free office suite for Windows, macOS and Linux. Microsoft compatible, based on OpenOffice, and updated regularly.
www.libreoffice.org
From the sound of things Microsoft have discontinued Works and, although it might work on Windows 10 in compatability mode. You need to find the compatability checker. type compatability into the search facility in windows (the magnifying glass next to the windows icon at the bottom left of the screen. that will find the checker, run that and choose Works from the list. That should analyze and fix some if not all of the problem.