How to disable propeller yaw control?

This might seem strange, but how would I be able to disable the yaw control/stabilization for a multicopter using PX4 running on the Pixhawk 6C? I am trying to test the effectiveness of an alternate yaw control method, but the drone keeps yawing the normal way. (slowing CW props/speeding up CCW props)

You can try to use v1.14 and later with control allocation (see Control Allocation (Mixing) | PX4 User Guide (main)) and then set the moment coefficients to 0: