The following lifting criterion is well known.
Let $p:E\to B$ be a covering map, $p(e_0)=b_0$. Let $X$ be a path connected, locally path connected space (I know this is necessary). Let $f:X \to B$ be a continuous map, $f(x_0)=b_0$. If $f_*(\pi_1(X,x_0))\subset p_*(\pi_1(E,e_0))$, then there exists a lift $\tilde{f}:X\to E$ of $f$.
Proof: For any $x\in X$, choose a path $c(t)\subset X$ connecting $x_0$ and $x$, then lift $c(t)$ to $E$, we get $\tilde{c}(t)\subset E$, define $\tilde{f}(x)=\tilde{c}(1)$. We can check that for different paths, we get the same $\tilde{f}(x)$, thus well defined.
I check that $\tilde{f}(x)$ is continuous in the following way:
For $x \in X $, $\tilde{f}(x)\in E$, choose a small open nbh $V_0\subset E$ such that $p:V_0\to p(V_0)\subset B$ is a homeomorphism. We claim that for any open nbh $V\subset V_0$, there exists open nbh $W$ of $x$, such that $\tilde{f}(W)\subset V$.
Since $E$ is locally path connected, choose a path connected open nbh $V'\subset V$, then $p(V')\subset B$ is also path connected. For any $y \in f^{-1}(p(V'))$, $f(y)\in p(V')$. Choose a path $c(t)$ in $p(V')$ connecting $f(x)$ and $f(y)$, then lift to $V'$, we get $\tilde{c}(t)\subset V'$. We can check that $\tilde{f}(y)=\tilde{c}(1)\in V'$.
Denote $W=f^{-1}(p(V'))\subset X$, we have shown that $\tilde{f}(W)\subset V'\subset V$. Since $p(V')$ is open, $W$ is an open nbh of $x$. So we prove the claim, $\tilde{f}$ is continuous at $x$.
In the above argument, I haven't use that $X$ is locally path connected (I know it is necessary), so where am I wrong?