JSFiddle - React, Tailwind, and code Playground
HTML
<input type='checkbox' checked class="dontUncheck" />
JavaScript
$(".dontUncheck").click(function(e){
e.preventDefault();
$(this).prop("checked", "checked");
});
<input type='checkbox' checked class="dontUncheck" />
$(".dontUncheck").click(function(e){
e.preventDefault();
$(this).prop("checked", "checked");
});