rdbms: add IDatabase::lockForUpdate() convenience method