Errr...what kind of lens? Lenses can either focus light or disperse it. Additionally, some lenses are good at passing infrared light and some lenses heavily attenuate it. It's not just a piece of glass!
There's also the focal length of the lens to consider
What specific IR sensor are you using?