How to set timeout for Jenkins LTS (2.479.x) UI login sessions?

We have noticed that user sessions in Jenkins are not getting logged off automatically, even when the session remains idle for an extended period (more than 4 to 5 hours).

Maybe one of the following items will help?