Disable screen while current process still run

I have a multiple record and image generation button. and each record take around 1 min to be generated one button submit. for example:

  1. cat playing guitar with his friends – [submit]
  2. Dog catch squirrel on tree – [submit]
  3. A school of dolphin play ice hockey – [submit]

The scenario is let said I submit no.1, I want to disable all button from submitting while the process still runs, and enable again after the process done.

The reason is I want to prevent user from clicking multiple time and multiple process.
I expecting the all the button to disable after no.1 button submitted. and after the process completed, all button enable again.