We can enable or disable radio buttons ( Period buttons ) by using a checkbox inside a form. Let us try first by directly disabling a radio button. ( Here Male radio button is disabled )
But here we are not able to change the status as per requirement so we will use JavaScript here to manage the radio buttons by using a checkbox.
DEMO of enable radio button by checkbox →
Let us see how this script works. Here is the code.