We’ve gotten used to the GPIO-available functions of Raspberry Pi computers remaining largely the same over the years, which is why it might have flown a little bit under the radar: the Raspberry Pi 4 ...
You can also change the time using the xset s [value] command, where [value] is the time in seconds. The default value is 600 ...