Feature #62

Ability to auto-lock the database https://www.keepassx.org/dev/issues/62

Also corrected an issue which allows KeePassX to open a database if the database has empty UUID fields and/or empty date fields. (see http://www.keepassx.org/forum/viewtopic.php?f=5&t=2696&p=6119#p6119 )