code: def test_untracked_dvclock_is_included_in_exp(tmp_dir, scm, dvc):
      stage = dvc.stage.add(
          cmd="echo foo",
          name="foo",
      )
      scm.add_commit(["dvc.yaml"], message="add dvc.yaml")
      dvc.reproduce(stage.addressing)
  
      # dvc.reproduce automatically stages `dvc.lock`
      # force it to be untracked
      scm.reset()
  
      exp = dvc.experiments.save()
      fs = scm.get_fs(exp)
      assert fs.exists("dvc.lock")
  
file_path: dvc/tests/func/experiments/test_save.py
imports: import pytest
  from funcy import first
  from dvc.repo.experiments.exceptions import ExperimentExistsError, InvalidArgumentError
  from dvc.repo.experiments.utils import exp_refs_by_rev
  from dvc.scm import resolve_rev
label_desc: Use image node_id 11 for calling a global function with example usage: test_untracked_dvclock_is_included_in_exp(tmp_dir, scm, dvc) without return types