Intanto per disabilitare i tasti puoi usare aggiungere al body
codice HTML:
<body onkeydown="return false";>
Per fare ritornare true su alcuni tasti dovresti controllare che tasto è premuto