With jQuery you can disable it listening to the keydown event:
$(document).on("keydown",function(ev){
console.log(ev.keyCode);
if(ev.keyCode===27||ev.keyCode===122) return false
})
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
keycode 27 stands for the ESC key and 122 for the F11. This was tested in chrome, maybe for other browsers can be other number