UPrimitiveComponent: Difference b/t SetContraintMode() and SetLockedAxis()?

Same description for both in the documentation and same parameter list. What’s the difference and what are they supposed to do?

Also, this doesn’t seem to be working to constrain a pawn’s collider to the XYPlane using EDOFMode::XYPlane. I’m unsure why.