That's a major reason I went to folding bikes. My Bike Friday never leaves my hand, whether I have it set up with the motor or not. No stress or angst, worth every penny. I bought a second hand cheap single speed folder for those times when I know I will absolutely have to lock up - and I I just removed my OneMotor drive system and take that with me. I know the trend is towards bigger range/bigger battery ebikes, but there's a real advantage is smaller systems in terms of theft. Removable modular systems where you can just carry small 130wh
extra batteries in your bags and take them and the motor with you when you lock up. Those big machines are great for recreational riding where you don't leave the bike, but for commuting they are just theft fodder.