Locks the specified bytes. If the bytes cannot be locked, OSError is raised.
msvcrt/LK_NBRLCK
LK_NBRLCK