> But this doesn't mean we should just give up on ux
It's a little unfair to describe locking as "[giving] up on UX", especially given some well known collaboration products use it quite successfully; Google Sheets cell locking, Miro element/Text locking, etc.
Ofc, it's going to depend on the scope of what's being locked. These two examples are quite finely scoped element locks.