Simply put, I was wondering how I could disable my MacBook's keyboard temporarily.
It used to be possible in earlier versions of macOS by following this answer. This no longer is the case.
I have a MacBook Pro 2018 on macOS 10.14.6.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
If all you need is a quick disabler to, for instance, clean your keyboard without pressing random keys, then there's a lovely bit of freeware called KeyboardCleanTool for precisely that purpose.