It isn't. This is a frequent source of hard-to-track file corruption.
In reply to Re: Re: Re: Re: (OT?) File Locking by dws in thread (OT?) File Locking by Anonymous Monk