Several solutions rather than one depending on exactly what you want
You can easily disable right clicking on a form by setting the shortcut menu property to No.
You can disable Access 'special keys' from File..Options..Current Database menu
This area also has Allow Default Shortcut Menus option - disable to prevent right clicking in the navigation pane
Similarly there are ways of disabling selected keys by remapping the key to nothing. However each blocked key needs to be specified individually.