Step 1: Refractive index and focal length.
The focal length \( f \) of a lens is related to its refractive index \( n \) and the refractive index of the surrounding medium. When a lens is immersed in a liquid with the same refractive index as the lens, the refraction at the surfaces of the lens becomes nullified. This leads to the lens losing its focusing ability.
Step 2: Conclusion.
When the refractive index of the surrounding medium matches that of the lens material, the focal length of the lens becomes infinity.
\[
\boxed{\text{Correct Answer: Become infinity}}
\]