You can press Ctrl + F1 for an Apple to lock the keyboard, but the disabling process is more complicated.