Most analog deadbolts are also pathetically weak and can be bumped or picked quickly with no sign of entry. Electric locks just let people have another avenue as well.
Some electric locks have gone keyless, so they actually invert this. Generally these locks have a way to plug in a USB c cable to power them if the batteries die.