See this thread on StackOverflow for a variety of techniques: [
^]
However ...
This kind of task is often found when using Windows in "kiosk" mode, or to drive a point-of-sale ui, or internet-cafe ui, and I suggest you research those if your goal is to really limit what the user can do with keyboard (and/or mouse).
But, consider that disabling the Windows key standard behavior (or the alt-tab key-combination default behavior, etc.) is probably going to make some users confused ... and/or angry.
Have you opened and read the links to "related questions" that appear on this page ?