Let $X$ be a smooth projective variety of dimension $2n+1$, let $i\colon Y\subset X$ be an ample hypersurface, by Lefschetz hyperplane theorem, the pullback $i^*\colon H^{2n}(X,\mathbb{Z})\to H^{2n}(Y,\mathbb{Z})$ is an injection.
When $X$ is a product of two projective spaces or more general (e.g., projective bundle over projective space), is it necessarily true that $i^*\colon H^{2n}(X,\mathbb{Z})\to (H^{2n}(Y,\mathbb{Z})/H^{2n}(Y,\mathbb{Z})_{\mathrm{tors}})$ is always a primitive embedding of lattices (i.e., the cokernel of $i^*$ is torsion free)?
(The question rose when trying to calculate lattice of primitive middle cohomology of $Y$, and hopefully it is primitive embedding. For $X$ being projective space, there is a reference Thm 2.3 The primitive cohomology lattice of a complete intersection. The primitivity is obtained by Thm 2.1 in "Libgober, J. Wood: On the topological structure of even-dimensional complete intersections".)