def METHOD_NAME(path):
    """Create a file lock which locks on path
    Parameters
    ----------
    path : str
        The path to the lock
    Returns
    -------
    lock : File lock object
    """
    return FileLock(path)