FileInfo.comFileInfo.com
# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
2 File Associations

.LOCK File Extension

NEW: Open any file on your PC with File Viewer

Generic Icon
File TypeLock File
DeveloperN/A
Popularity
3.7 (11 Votes) Thanks for voting!
Rare Uncommon Average Common Very Common
CategoryMisc Files
File Format Description

File used by various operating systems and programs to lock a resource, such as a file or a device; typically contains no data and only exists as an empty marker file, but may also contain properties and settings for the lock.

LOCK files signal to applications that a resource should not be used until the lock is released. This is useful for programs that need to prevent concurrent access to critical resources. For file locking, programs typically create a new file and add the ".lock" extension for the original filename. For example, a lock file for "example.file" would be "example.file.lock."

LOCK files are commonly seen on Unix-based systems, including Red Hat Linux system file locks. Other examples of LOCK files include Mozilla's parent.lock file, which locks Windows Firefox profiles, and Apache Web Server lock files, which are created using the LockFile directive.

Program(s) that open .LOCK files
Updated 8/15/2013

Generic Icon
File TypeMinecraft World Lock File
DeveloperMojang Specifications
Popularity
2.0 (5 Votes) Thanks for voting!
Rare Uncommon Average Common Very Common
CategoryGame Files
File Format Description

Lock file named session.lock and used by Minecraft, an open-ended block construction game; included as part of the data for a Minecraft world; enables a Minecraft application to lock the world so that only one Minecraft instance has it open; saves a timestamp for when the world was last accessed.

Minecraft uses a locking policy such that the last instance to open the world is the world owner. If the contents of the session.lock file change after an instance has written its timestamp, the instance aborts and gives up the lock.

Program(s) that open .LOCK files
Updated 4/22/2011