Proposition. Let $f : \mathbb R^n \to \mathbb R$ be a function with the following property: every point in $\mathbb R^n$ has an open neighborhood where $f$ is Lipschitz. Then it is Lipschitz on every closed and bounded subset of $\mathbb R^n$.
I think it's fairly easy to prove this directly: let $K \subset \mathbb R^n$ be closed and bounded. Define $K'$ as a compact set that is the minimal convex set containing $K$. By hypothesis, for every $x \in K'$ there exists an open neighborhood $\Omega_x$ such that $\forall y,z \in \Omega_x$ the Lipschitz condition holds: $$|f(y) - f(z)| \leq L_x|y-z| $$ for some $L_x > 0$ depending on $x$. The family $$\mathcal F \doteq \{\Omega_x\ |\ x \in K' \} $$ is an open cover of $K'$; since $K'$ is compact, one can select a finite number of points $x_1,\dots,x_k$ such that $$K' \subseteq \bigcup_{j=1}^k \Omega_{x_k} $$ In each of these neighborhoods, $f$ will be Lipschitz with constant $L_{x_k}$; but if $f$ is Lipschitz with constant say $L$, then it is Lipschitz with constant $L'$, for all $L' \geq L$. This means we can define $$L \doteq \max_k \{L_{x_k}\} $$ and $f$ will be Lipschitz with constant $L$ on $K'$, therefore on $K$.
However, I was wondering if this result could be proven by contradiction. Suppose $f$ is not Lipschitz on $K$. Then $$\forall L > 0\quad \exists x,y \in K \qquad |f(x)- f(y)| > L|x-y| $$ Let $\{L_k\}$ be a sequence of strictly positive real number. Then for all $k$ we can find $x_k,y_k \in K$ such that $|f(x_k) - f(y_k)| > L_k |x_k - y_k|$.
From here on, I'm stuck. I'm not sure whether I should be arriving at a negation of the compactness (possibly through sequential compactness, since we're dealing with sequences) of $K$, or of the "locally Lipschitz" condition in the hypothesis. Any suggestions?
Proof by contradiction: I'll be brief (ask if you have questions). First note that the local Lipschitz condition implies $f$ is continuous everywhere.
If the result fails for some compact $K,$ then for every $m\in \mathbb N,$ there exist $x_m,y_m\in K$ such that
$$\tag 1|f(y_m)- f(x_m)| > m|y_m-x_m|.$$
Because $K$ is compact, there exists a subsequence $m_k$ such that both $y_{m_k},x_{m_k}$ converge to some $x,y\in K$ respectively.
If $y\ne x,$ then $|y-x|>0.$ Hence for large $k$ we have $|y_{m_k}-x_{m_k}| > |y-x|/2.$ Thus for large $k$ we see
$$|f(y_{m_k})-f(x_{m_k})| > m_k|y_{m_k}-x_{m_k}|> m_k|y-x|/2\to \infty.$$
That's a contradiction, because $f$ is continuous on $K,$ hence is bounded on $K.$ Therefore we must have $y=x.$
But if $y=x$ we can invoke the local Lipschitz condition at $x$ to see that $(1)$ cannot happen, contradiction. This proves the result.
Added later: Note that this result doesn't depend on convexity at all: If $X,Y$ are arbitrary metric spaces, and $f:X\to Y$ is locally Lipschitz, then $f$ is Lipschitz on each compact subset of $X.$ The above proof will work nearly word for word in this setting.