Back when I was working on kiosks (I was on the engineering team) we would have a metal plate made to only show the keys required for the kiosk app. Some thought they could deal with it in software but after too many failures the old way or fix returned and stuck.

You can also glue the keys in place if you don't want to do the usual cover.