Most analog deadbolts are also pathetically weak and can be bumped or picked quickly with no sign of entry. Networked electric locks just let people have another avenue as well. Some dont, as being electric doesnt mean people network them. The good networked ones tend to use secure zwave (so called zwave s2), which is an improved security protocol that is not as easy to hack as "run some scripts." The skills needed to breach it are going to be "high effort" compared to a kick.
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, but have no key access. This power port has no data access. Mixed with a secure network protocol or none at all, they are likely more secure than many analog options.