def create_lock_file(path):
with open(path, "<STR_LIT:w>") as f:<EOL><INDENT>f.write(settings.LOCK_FILE_CONTENT)<EOL><DEDENT>passwd_reader.set_permissions(path, gid=settings.PROFTPD_USERS_GID)<EOL>
Create lock file filled with :attr:`LOCK_FILE_CONTENT
<ftp.settings.LOCK_FILE_CONTENT>`.

Args:
    path (str): Path to the lock file. Made from users home directory and
                :attr:`LOCK_FILENAME <ftp.settings.LOCK_FILENAME>`.