Etymology
Today it means: A file whose existence, by convention, indicates that a particular resource is in use. Full definition →
Compound of lock + file.
Etymology from Wiktionary, CC BY-SA 4.0.