File Locking
This is a mechanism that locks a file during editing in order to protect it from getting corrupted. There are, broadly, two types of locks in computing, exclusive locks and advisory locks. Corruption would be as a consequence of a race condition where two or more proceses or users are attempting to update a single record or file at the same time. It would, then, not be