Do lenses do work?

No.13181959 ViewReplyOriginalReport
Because a photon traveling through a lens changes direction, so mustn't there be a force to cause the change in direction, and work done as a result??