kalua: [bugfix/minor] db: lock() wrong used varname