Just for clarity - you do mean Photoshop 5.0 not Photoshop CS5?
If you do mean Photoshop 5.0 then you may have problems with the installation on 64 bit . The installer is 16 bit.
See this thread where R Kelly got it running by copying the program folder from an older computer.
The other issue - if you can get round the installer - is the disk drives. Photoshop 5.0 will not see disks greater that 1TB so you will need a smaller disk for scratch
Photoshop 5 is 1998 software before ACR before scripting it is really OLD. You would most likely be way better off buying a new version of Photoshop Elements. The oldest version of Photoshop I have on Windows 10 is CS2.
Actually, the software I have is "Adobe Photoshop CS5 Extended". So my question should be is Windows 10, compatible with "Adobe Photoshop CS5 Extended"?
Actually, the software I have is "Adobe Photoshop CS5 Extended".
I did a cursory google search and while Adobe no longer supports CS5, it should work just fine under Windows 10.