I recently read that (at least in $2+1$ dimensions but maybe it's true in general) the fact that all the component of Riemann tensor are identically 0: \begin{equation} R_{\alpha\beta\mu\nu} = 0, \end{equation} does not necessarily implies that spacetime is Minkowskian. It said the following:
If the topology is trivial, the local flatness ensured by $R_{\alpha\beta\mu\nu} = 0$ can be extended for the hole space, so the space is Minkowski's. But if the topology is not trivial, flatness is just local and interesting things can happen!
For me, the Riemann tensor was precisely the tool to asserts flatness or not, since Christoffel's symbols can be non-zero even for Minkowski's spacetime, they depend "too much" of the choice of coordinates.
Could you give some examples of spacetimes that are locally flat (in the sense described above, not the ones concerned by the equivalence principle of course)?
Given a metric, how do we know if the topology is trivial or not?
This seems important, what else should I know about those spacetimes? What interesting things can happen?