Screen lock (awake/dim -- not rotation) toggle?

Anyone know a toggle I could download/install so I don't have to go crawling through the menus just to enable/disable screen dark/lock (not rotation) function, please?

Thanks in advance anyone willing to help!
Screen lock (awake/dim -- not rotation) toggle?
No such thing that I know about.

Original thread: https://forums.imore.com/threads/screen-lock-awake-dim-not-rotation-toggle.318528/