In his answer to this question, Andrea claims that if $A \subset B$ is an extension of rings of integers of number fields, $B$ is locally free over $A$.
How can one prove this?
Furthermore, I am looking for an example (with $A$ and $B$ as above) where $B$ is not a free $A$-module (in case $A = \mathbb{Z}$, $B$ is always free over $A$, since it is a finitely generated, torsion-free $\mathbb{Z}$-module).