JSFiddle - React, Tailwind, and code Playground

HTML

<input id="price" type="text" value="Старое значение">
<label><input type="checkbox" id="check"></label>

JavaScript

$(document).ready(function(){
	$('#price').on('change', function(){
        $('#check').prop('checked', true).attr({'checked': true,'disabled': true});
    })
})