Keyless entry locks are can be either strictly mechanical or electronic. Mechanical versions are usually referred to as “pushbutton locks” and have longer lifespans than electronics. They are susceptible to needing maintenance, however, as moving parts do need to be lubricated and maintained for proper functioning. Electronic versions can be accessed by either a code or a fob/card.
While generally having a lesser lifespan than mechanical, electronic keyless entry locks are most commonly used in residential settings where usage is less than commercial. A quality electronic keyless entry will have a key over-ride which can come in very handy if you find yourself in a sticky situation such as a dead battery.