A means to limit or deny access to a file by other users. A file lock can be a read lock or a write lock.