Is there a way to temporarily disable prescribed inputs on button push

Hi there. Thanks for taking the time to read this and possibly offer a solution.

I am using the new input system (which I love!). Here is the issue:

I have keyboard keys “1”,“2”,“3”,“4”,“5” and “delete” with assigned actions. The numbers take you to different canvas overlay pngs and various events are triggered in ‘player input’. The user reads the png and returns to the home screen using the delete button.

That all works fine, however, I don’t want the user to choose another number once they’ve pushed a number. There only option should be to push delete to get back to the home screen.

I want to disable all number inputs once one number is pushed and then restore their function once they’ve pushed delete and returned to the home screen. Is that possible?

Thank you in advance if you can help.

I should have added this.

I have tried creating Action Maps for each of the numbers. The problem with this is I would need a button push to switch to the new Action Map and then another button push to trigger my canvas. I really want it to work with just one button push.

Hope all that makes sense. Thanks.