Thank you, MarkAW
. I've tried to set all 3 options as recommended. But when main window is opened and I press ESC, KeyPass closes (minimizes to systray) and locks the DB. Next time, when I restore window, it asks for password.
Option
Lock workspace when minimizing the main window is unchecked too. So, clicking on "minimize" button on the main window doesn't lock workspace, while pressing ESC does... I'm trying to avoid the locking DB, when I press ESC.