Some clarifications:
Common Lisp uses lexical binding for locals by default. (I think you meant this, but the wording seems ambiguous to me on whether “older Lisp systems” means “older than Common Lisp” or “older in general, including Common Lisp which is itself old”, so I wanted to say it more explicitly.)
Emacs Lisp is currently expecting to switch in the future from dynamic binding by default to lexical binding by default, which is why lots of Emacs users are getting the current transitional flood of annoying warnings about elisp files that don't have the expected “lexical-binding: ‹boolean›” metadata at the top. And yes, that cookie is a reuse of the “set some local state for buffers visiting this file” mechanism, more commonly used for things like major mode and fill column (expected line length), for programming language dialect switching!
Here's the node about this in the current online version of the official manual: https://www.gnu.org/software/emacs/manual/html_node/elisp/Se...