Correct. In contrast to Newtonian mechanics, Lagrangians and Hamiltonians completely describe essentially all fundamental laws of physics -- including things like quantum and relativity.
However, they are cumbersome to work with for some complex, compound phenomena, such as friction.
However, they are cumbersome to work with for some complex, compound phenomena, such as friction.