diff --git a/doc/nanorc.sample.in b/doc/nanorc.sample.in
index f164c2690ea439f93c55d5b6a893e20a8daf035f..192f9b4459a9cbf68c43abc73bf18ed28165226f 100644
--- a/doc/nanorc.sample.in
+++ b/doc/nanorc.sample.in
@@ -56,6 +56,11 @@
 ## Enable ~/.nano_history for saving and reading search/replace strings.
 # set historylog
 
+## Enable vim-style lock-files.  This is just to let a vim user know you
+## are editing a file [s]he is trying to edit and vice versa. There are
+## no plans to implement vim-style undo state in these files
+# set locking
+
 ## The opening and closing brackets that can be found by bracket
 ## searches.  They cannot contain blank characters.  The former set must
 ## come before the latter set, and both must be in the same order.