Lock Axis does not work on the OOTB POST HUB post (Jyoti_Tachyon_4FT_RTT200_TTAC_SinumerikOne).
The information window displays the following on using the OOTB post. "mom_kin_5th_axis_point array should be set to zero for calculation"
Add the following code below to your "custom layer".
The setting in Polar Mode group are in the image below.