[dv] minor update to test

- lock the measurement controls and ensure a calibration lost
  unlocks it

Signed-off-by: Timothy Chen <timothytim@google.com>
diff --git a/sw/device/tests/BUILD b/sw/device/tests/BUILD
index bc5d90a..0694207 100644
--- a/sw/device/tests/BUILD
+++ b/sw/device/tests/BUILD
@@ -1075,5 +1075,7 @@
         "//sw/device/lib/testing:aon_timer_testutils",
         "//sw/device/lib/testing:clkmgr_testutils",
         "//sw/device/lib/testing:pwrmgr_testutils",
+        "//sw/device/lib/testing/test_framework:check",
+        "//sw/device/lib/testing/test_framework:ottf_main",
     ],
 )
diff --git a/sw/device/tests/ast_clk_outs_test.c b/sw/device/tests/ast_clk_outs_test.c
index 0b6cd3f..821e5f5 100644
--- a/sw/device/tests/ast_clk_outs_test.c
+++ b/sw/device/tests/ast_clk_outs_test.c
@@ -6,10 +6,10 @@
 #include "sw/device/lib/dif/dif_sensor_ctrl.h"
 #include "sw/device/lib/runtime/log.h"
 #include "sw/device/lib/testing/aon_timer_testutils.h"
-#include "sw/device/lib/testing/check.h"
 #include "sw/device/lib/testing/clkmgr_testutils.h"
 #include "sw/device/lib/testing/pwrmgr_testutils.h"
-#include "sw/device/lib/testing/test_framework/ottf.h"
+#include "sw/device/lib/testing/test_framework/check.h"
+#include "sw/device/lib/testing/test_framework/ottf_main.h"
 
 #include "hw/top_earlgrey/sw/autogen/top_earlgrey.h"
 
@@ -66,6 +66,9 @@
         count_info.count - count_info.variability,
         count_info.count + count_info.variability);
   }
+
+  // lock measurement controls
+  CHECK_DIF_OK(dif_clkmgr_measure_ctrl_disable(&clkmgr));
 }
 
 static void check_measurement_counts(const dif_clkmgr_t *clkmgr) {