The triple lock has come under scrutiny as the number of pensioners rises making the policy more expensive.