I have heard folks on this forum state that WD-40 should not be used in locks.
WD-40 is NOT a very good lubricant. That’s probably the reason why NOT to use for locks.
HOWEVER…it is designed to remove water (WD - Water Displacement)…this makes WD-40 an excellent choice for frozen locks.