code: def test_root_locked(tmp_dir, dvc, capsys):
      # NOTE: check that `dvc root` is not blocked with dvc lock
      with dvc.lock:
          assert main(["root"]) == 0
      assert "." in capsys.readouterr()[0]
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_root_locked(tmp_dir, dvc, capsys) without return types