Rigidbody.freezerotation DOESN'T FREAKING WORK

Please, is there an alternative? Freezerotation acts like “slow down rotation a lot, but not actually freeze it”, every time my object interacts with something, it changes, so is there an absolute object lock that doesn’t let it move until I let it?

Just lock all of the rotation constraints in the rigid body component.

There’s apparently a bug. Currently I have a simple project where Rigidbody has multiple colliders and triggers. In some cases freeze rotation just does not work. Then I switch off an innocent box collider, just one hanging out in space, then freeze rotation does not work. Then in another prefab just like it when it comes to physics, it always works.