How to Increase admin session timeout in magento 2?

In this tutorial, we will check how we can increase admin session timeout in magento 2.

By default, Magento automatically logs out admin when connections are idle for a certain amount of time.
However, you can increase or decrease this interval according to your own requirements.