JSFiddle - React, Tailwind, and code Playground

HTML

Owner:<input type="checkbox" id="owner">
<hr>
<div id="check">
bicycle:<input type="checkbox" id="bicycle"><br>
bike:<input type="checkbox" id="bike"><br>
car:<input type="checkbox" id="car">
</div>

JavaScript

$(document).ready(function(){

        var $checkbox = $("#check").find("input[type=checkbox]");
        $checkbox.prop('disabled', true);

        $("#owner").click(function(){
            var $ownercheck = $(this);

        if ($ownercheck.prop('checked') === true) {
                $checkbox.prop('disabled', false);
        }
        else
        {
            $checkbox.prop('disabled', true);
        }

    });

});