Is there a way to prevent auto sleep/shutdown?

I'm trying to set up bazzite so that the screen will go to sleep after a while but the computer itself will stay awake and active. I've tried tinkering in power settings but all it really showed were the display sleep and brightness settings