Depends on the scooter. On the Xiaomi in question, yes, I've found it to be problematic. The solution is the Masterlock handcuff lock. One end around the tube between deck and bars, the other end around a post.
The Boosted Rev I have now has exposed frame rails so you can use your favorite bike lock.
That's the one. Weighs a chunk (maybe a bit more than a Kryptonite cable lock?), but it's solid and it solves the "lock up my Xiaomi" problem. Super-quick to lock and unlock, too.
The only disappointment is the range. If I hammer it in "ludicrous mode" on the eight mile ride to work, with at least one significant hill, I arrive at work at 10% remaining. OTOH, toning it down a bit could just about get me round trip. If I lived somewhere flat (I'm in the Seattle area) I'd come a lot closer to advertised. Hills kill my Leaf's range, too. I just keep a spare charger at work, and don't worry about it.
As for the rest, it's an iPhone/Pixel compared to the 2nd-tier-Android-like Xiamois. It's over-provisioned as far as motors, so whereas a Xiamoi is barely moving at its rated 14% grade, the Boosted is still pulling. The Boosted could easily exceed its 24mph limitation, so I assume that's a legal limitation. It's nice not to run at redline all the time like I do with the Xiaomi. Regen brakes are amazing. I rarely use the mechanical brake because the Boosted's regen will pull you down to a dead stop. In contrast, the Xiaomi's regen braking will haul you down if you're not in a hurry to stop, and you'll still need the disk brake for those last few feet.
In summary, if you plan to use a scooter as a vehicle, the Boosted is worth it. Not so much if you just want to go down the trail with your kids on the weekend. For that, or other occasional use, the Xiaomi is a bargain.
Also love the Rev - but rumor is it uses electricity to ebrake below 5mph. I generally just put my foot down at that point to come to a stop (or use the mechanical brake)
The Boosted Rev I have now has exposed frame rails so you can use your favorite bike lock.