DB_Locked
if( DbHasProperty(db, iDb, DB_Locked) ) return;
DbSetProperty(db, iDb, DB_Locked);
DbClearProperty(db, i, DB_Locked);