The so-called Oka-Grauert principle states that for any Stein space $X$ the holomorphic and the topological classification of complex vector bundles on $X$ coincide. The original reference is
[H. GrauertHans Grauert, Analytische Faserungen über holomorph-vollständigen Räumen, Analytische Faserungen über holomorph-vollständigen RäumenMath. Ann., Math. Ann. 135, 263–273 (1958)], 263-273.
As a consequence, every locally free, coherent sheaf $\mathscr{F}$ defined on a contractible subvariety $X$ of $\mathbb{C}^n$ is free.
Of course, if $\mathscr{F}$ is not locally free this is no longer true. For instance, take a closed analytic subvariety $Z \subset X$; then the ideal sheaf $\mathscr{I}_Z \subset \mathscr{O}_X$ is coherent but not free.