By default, the admin session lifetime in Magento 2 is set to 900 seconds (15 minutes), and most of the time this is quite annoying. As this is a setting in the backend, we can change it quite easily.