def METHOD_NAME(
    td,  # type: Any
    find_links_repo,  # type: str
):
    # type: (...) -> str
    METHOD_NAME = str(td.join("lock"))
    path_mapping = create_path_mapping_option_value(find_links_repo)
    run_pex3(
        "lock",
        "create",
        "--no-pypi",
        "-f",
        find_links_repo,
        "--path-mapping",
        path_mapping,
        "ansicolors",
        "-o",
        METHOD_NAME,
    ).assert_success()
    return METHOD_NAME