The triple lock guarantees an increase in pensions in line with average earnings, inflation or 2.5%, whichever is highest.