As bikes go electric, you can make it so the motor blocks when your phone is not in range.
There are still other problems with that approach. VanMoof currently lets you unlock your phone with your bike, rather than requiring a constant connection, which seems like the right balance.
Unlock your bike with your phone?