title: Prevent editing of cells while script is running
body: <p>I have a small Google Apps script that runs for a couple of secounds after certain cells within a spreadsheet are edited.</p>
  
  <p>My question is if it's possible to prevent the current user of doing further changes to the spreadsheet while the script is running.</p>
  
  <p>So it should be like this:</p>
  
  <ol>
  <li>cell is edited</li>
  <li>script is running, user interactions/changes for the current user are blocked</li>
  <li>script is done</li>
  <li>user interactions/changes for the current user are unblocked</li>
  </ol>