Disable action menu Android

Is there a way to disable the action menu in android. Or at the very least disable the System action. I am running the app in pinned mode and don’t want the user to be able to hold the back button to get to the action menu and then click on System and access the settings. I have it hidden but the user can still access the menu by holding the back button

The Xibo Community site uses cookies. What are cookies?