How to disable screen lock / screen saver

I am setting up a RockPi 4B with the Debian linux as a Kiosk setup. I have managed to install openbox to run my kiosk on boot BUT I am not able to prevent the screen from locking after X amount of time.
What is the best way to prevent screen blanking on debian?

I have tried configuring it in lightdm where I was able to setup auto login, but that didn’t work. Other suggestions involved setting it in the power settings on the desktop but I wasn’t able to find the settings there either.

Alternatively how would I get it to auto login after it locked?