Here is a statement in a slightly more general setting (since it is for free).
Let $X$ be a length metric space, $Y$ a metric space, $f:X\to Y$ continuous, $(A_i)_{i\in \mathbb N}$ a countable covering of $X$, such that $f$ is $L$-Lipschitz on each set $A_i$. Then $f$ is $L$-Lipschitz on $X$. In other words $$\text{Lip}(f,X)=\sup_{i\in\mathbb N} \text{Lip}(f,A_i).$$
Rmk. Since $X$ is a length metric space, it is sufficient to assume $[0,1]$ as a domain of $f$. We can also assume $Y:=\mathbb R$: the case of normed-space valued functions follows from Hahn-Banach by composing with linear functionals. By the Fréchet-Kuratowski embedding this includes the case of general metric space $Y$.
Proof 1. Consider $$R:=\{(x,y)\in X\times X: |f(x)-f(y)|\le L|x-y|\}.$$
As a relation on $X$, $R$ is a closed equivalence relation, with at most countably many classes. So by Sierpiński‘s theorem it is trivial, meaning that $f$ is $L$-Lipschitz.
[edit] Also
Proof 2. Let $Z_i$ be the (countable) set of isolated points of $A_i$, and $Z:=\cup_{i\in\mathbb N}Z_i$. Every $x\in[0,1]\setminus Z$ is an accumulation point for some $A_{i_*}$, therefore $$\displaystyle D_*f(x)\le\liminf_{y\to x\atop y\in A_{i_*}}\frac{f(x)-f(y)}{x-y}\le L$$
holds for all points but a countable set, which implies (together with the same bound for $-f$) that $f$ is $L$-Lipschitz.