Solution (source code)

= Solution

Take $K=\mathbb Q(i)$ and
$$
\alpha=\frac{3+4i}{5}.
$$
Its two embeddings give $(3\pm4i)/5$, both of modulus one. But $alpha\notin\mathbb Z[i]=\mathcal O_K$, since its real and imaginary parts are not integers. This is the required example.