http://minorugh.github.io/posts/dont-kill-scratch-bufffer/
Scratch bufferをKILLさせない:emacs-lock-mode