JSFiddle - React, Tailwind, and code Playground
HTML
<input id="b0" name="info_for_contact" type="checkbox" >
<label for="b0">1</label>
<input id="b1" name="info_for_contact" type="checkbox">
<label for="b1">2</label>
<input id="b2" name="info_for_contact" type="checkbox">
<label for="b2">3</label>
JavaScript
let used_for_contact = $('#b1, #b2');
used_for_contact.click(function() {
if (used_for_contact.filter(':checked').length > 0) {
$("#b0").prop("disabled", this.checked).prop({
"checked": false
}, this.checked);
}
})