lockfile-mode An Emacs mode for .lock files that includes the following features: Based on fundamental-mode. Opens .lock files in read-only buffers. Installation Manual installation Copy lockfile-mode.el to your load path. Add the following to your init.el: (require 'lockfile-mode)