Heh, my 'ol dad used to say 'locks are used to keep honest people out".
On a biking I forum I visit someone asked for recommendations on what he should purchase to keep his bike safe at work after his short commute. Among the numerous snarky answers, the funniest was "a beater bike and leave the good one home".
It is a concern. Motorizing a bike adds attention to it for sure. A member here posted about his MB stolen at work and it was locked in the employee compound. He surmised it was another employee.
With carbide edged, long handled bolt cutters, just about any chain or cable can be parted.
When I go out I have a couple of coil cables and a couple of good padlocks in my tool bag. Shopping in a store, at an appointment, or other short term stops, I use one or both depending on the situation and setting. I pretty much always wrap a loop through the drive parts.
At work or at home, I bring the bikes inside.