I would respectfully add that the recoil spring assembly(on any weapon) should be periodically changed. For a Glock, somewhere between 5-10,000 rounds.
No need for heavy lubrication; the pistol should be detail stripped every year or two and cleaned to avoid gunk building up, or in an unusual situation, e.g., it was submerged in salt water.
Modern guns run much better than earlier designs.