You can extend the login expire time with config\session.php this file location. Just update lifetime the value of the variable. By default it is 'lifetime' => 120. According to your requirement update this variable.

BY Best Interview Question ON 10 Oct 2021

Example

'lifetime' => 180