Got to Settings > Battery > Power Save Mode > Default Optimisations > Change 15s timeout setting.
Below are images for the same in same order
The toggle button has to be turned off "Change auto screen-off time to 15s".
I don't know if same if available in Android 11 ROM. If this setting is available then time out can be set to one setting everytime.