I am sorry for asking two questions in one but they are strongly related.
- What is an example of (affine?) schemes $X=(|X|,\mathcal{O}_X)$ and $Y=(|Y|,\mathcal{O}_Y)$ and a map of topological spaces $|f|\colon|X|\to |Y|$ that cannot be promoted into a map $f\colon X\to Y$ of schemes?
I guess something like $exp:\mathbb{R}\to\mathbb{R}$ is an example but I cannot prove that it is an example.
- What is an example of (affine?) schemes $X=(|X|,\mathcal{O}_X)$ and $Y=(|Y|,\mathcal{O}_Y)$ and a map of topological spaces $|f|\colon|X|\to |Y|$ that can be promoted into a map $f_1\colon X\to Y$ of schemes and into a map $f_2\colon X\to Y$ a map of schemes with $f_1\neq f_2$?
Just take $X=\mathrm{Spec}(K)$ and $Y=\mathrm{Spec}(L)$ for two fields $K,L$.
There is a unique map $|X| \to |Y|$. The morphisms $X \to Y$ correspond to field homomorphisms $L \to K$. There may be no such homomorphisms, but there may be also many of them. (For example, consider $\mathbb{Q}(\sqrt{2}) \to \mathbb{Q}$ or $\mathbb{Q}(\sqrt{2}) \to \mathbb{Q}(\sqrt{2})$).