Motor PWM outputs not working in HIL

I am trying to understand how to make PWM outputs work in HIL mode because I am using external hardware to simulate the PWM outputs and do further analysis. So, I need to mirror the pwm_out_sim on the actual PWM pins in order to continue my work. I have tried disabling the armed lockdown but it did not work. Can you please help me?

Have you tried this?

Yes but I had to do an extra step of stopping px4io and restarting it with safety off. It kinda works now.