JSFiddle - React, Tailwind, and code Playground

HTML

<input  type="checkbox" /> Check One</br>
<input  type="checkbox" /> Check Two</br>
<input  type="checkbox" /> Check Three</br>

JavaScript

//Script for questions where you check one option or the other (locks other options out)
$(':checkbox').click(function(){ 
    
    var $checkbox = $(this);
    var isChecked = $checkbox.is(':checked')

    //If no option is checked, the make all the options available to be selected
    //Otherwise, one option must be checked so lock out all other options
    if(isChecked)
        $checkbox.siblings(":checkbox").attr("disabled", "disabled");
    else
        $checkbox.siblings(":checkbox").removeAttr("disabled"); 

});