Let $f: X \to Y$ be a morphism of varieties such that its fibres are isomorphic to $\mathbb{A}^n$. Since the definition of a vector bundle stipulates that $f$ be locally the projection $U \times \mathbb{A}^n \to U$, it is likely that there exist morphisms that are not locally of that form, but I can't come up with an example.
So the question is: what is an example of a morphism with fibres $\mathbb{A}^n$ that is not locally trivial? not locally isotrivial?