For forms, there is no real advantage in using macros to do this, as it can be done by setting the Shortcut Menu property to False
By chance I published an article on this very topic two days ago following an email from another developer.
My article was about disabling shortcut menus in reports, which do not have a Shortcut Menu property.
As well as the macro based solution given above, I have also provided the VBA code needed to disable all 6 report shortcut menus in report / layout view and print preview
Unlike forms, Access reports do not have a shortcut menu property. This article describes alternative methods that can be used to disable the right click context menu in Access reports.
OK - setting the ShortcutMenu to False disables all shortcut menus apart from the Tab when using Tabbed Documents display.
Using macros does also disable the Tab shortcut menu.
However, creating a 'dummy' shortcut menu which says shortcuts are disabled isn't in my opinion ideal.
For that reason, I prefer the VBA solution of disabling all relevant command bars . . . though it is more work to setup