Font-lock is a minor mode of GNU Emacs. It assigns faces locally to a particular buffer.
Font Lock mode is a minor mode of GNU Emacs. Font Lock mode is:
always local to a particular buffer, which assigns faces to (or fontifies) the text in the buffer. Each buffer's major mode tells Font Lock mode which text to fontify; for instance, programming language modes fontify syntactically relevant constructs like comments, strings, and function names.
Font Lock mode is enabled by default. To toggle it in the current buffer, type M-x font-lock-mode. A positive numeric argument unconditionally enables Font Lock mode, and a negative or zero argument disables it.
[section 14.12 Gnu Emacs Manual]