selftest: Rework samba.dsdb locking test to samba.dsdb_lock