Thanks! It seems as a good practice, working very well! I’m not sure why i haven’t thought about his option earlier.
Yet one thing came into my mind: is this the reason why KeepassXC won’t close its database when the screensaver is on? If yes, is there any good practice to close the database even if the screensaver turned on and there was no chance to close it manually?