Let $F:M \to N$ be a smooth map between manifolds, and suppose $M$ is connected and that
$$F_*: T_pM \to T_{F(p)}N$$
is zero for every $p \in M$. Then $F$ is the constant map.
Here is mt attempt:
Let $q \in N$ with $$F(p)=q.$$ I claim the set $$A=\{x \in M : F(x)=q\}$$ is both open and closed in $M$. Clearly it is nonempty as $p \in A$. And by connectedness of $M$, this would force $A=M$ thus $F$ is constant on $M$. For closed let $x_0 \in M$ and $\{x_n\} \subset A$ with $$\lim_{n \to \infty}x_n=x_0.$$ As $x_n \in A$ for every $n$, $F(x_n)=q$ and by continuity of $F$, we have that $$F(x_0)=q$$ forcing $x_0 \in A$ thus $A$ contains its limit points and is closed in $M$. To show $A \subset M$ is open, fix some $a \in A$ and let $\epsilon>0$ be given such that $$B_\epsilon(a) \subset M.$$ as $M$ is connected, it is path connected thus if $z \in B_\epsilon(a)$, then define $$g:[0,1] \to M$$ via $$g(t):=F(zt+(1-t)a)$$ so that $g(0)=F(a), g(1)=F(z).$ and $g$ is a path. Then $$g_*=F_*(zt+(1-t)a)(z-a)=0.$$ Thus $g_*(t)=0$ for $t \in [0,1]$ implying $g$ is constant thus $$F(z)=g(1)=g(0)=F(a).$$ I.e., $B_\epsilon(a) \subset A$ and $A \subset M$ is open thus is all of $M$ and $F$ is thus constant on $M$.
For an exmaple of when connecedness is dropped, then it fails, consider $$f: \Bbb{R} \setminus \{0\} \to \{-1,1\}$$ via $$f(x)=\begin{cases} 1 & x>0\\ -1 & x<0 \end{cases}.$$ This function has zero derivative but is non constant. Furthermore the domain is a disconnected manifold.
Added: I am a bit shaky on the showing $A$ is open in $M$ but certain my closed argument works just fine. If I am correct, an upvote or a "looks ok" comment will suffice, if I am incorrect somewhere point it out and give a hint as to how to fix it please, thanks in advance! Also I think my counterexample works just fine