def METHOD_NAME(self, *args):
    # type: (*str) -> str
    lock = tempfile.mktemp(prefix="lock.", dir=self.tmpdir)
    run_pex3("lock", "create", "--pex-root", self.pex_root, "-o", lock, *args).assert_success()
    return lock