Mine will stop if something gets in the way or bumps it. The ones I had at work before COVID were the same and made by a different company. As another user said though, they can be a real pinch hazard. Had one cut a cable once.
BTW, this is often totally undocumented (often blatantly on purpose) and you basically need to find a video review of the desk in question where you can see the desk move on its own or else it's not guaranteed it will do that & you will spend a ~minute every time you want to rise or lower the desk to the standing/sitting position.
Another thing I'd also look at, for a particular model, was how faithful the electrical/mechanical interfacing of the hack, and whether that had implications for system operation safety.