If n decreases, f increases. So if you immerse the convex lens in a liquid whose refractive index is greater than refractive index of material of lens then it will change its nature and become concave lens and thus it will start diverging the rays rather than focusing them on a single point.