Is rigid body axis locking actually implemented?

I just tried to lock some rotational/translational axes in the Rigit Body API, but it does not seem to have any effect in the simulation.

Any suggestions appreciated.

This is what I see, can you provide a .usd file with a simple repro scene if the issue persists?