Windows 10 putting computer to sleep

you should be able to change the windows power settings to not go to to sleep

Thats exactly the problem I have the settings set to NEVER, but it still goes to sleep after about an hour. I have been into "Additional power settings and then “Change settings for this plan” all set to NEVER, but still it sleeps after an hour. I did read somewhere that turning off the screen saver may sort it out, didn’t want to do that but may have to give it a try.

I am looking at replacing this ageing machine so when I do hopefully something built with windows 10 in mind should sort it out, but thats an expensive way to sort what is really just an annoying inconvienience
Phil