We all know that if a function is continuously differentiable on a compact set $\Omega\subseteq \mathbb{R}^2$ then it is also Lipschitz continuous on that domain.
But now consider a function $f:\Omega \to \mathbb{R}$ that is uniformly continuous on but only piecewise continuously differentiable on the compact set $\Omega\subseteq \mathbb{R}^2$.
Can we say that such a function is Lipschitz continuous on $\Omega$? Why?
No we can't. $\sqrt{|x|}$ is a counterexample.