This is similar to: Asynchronous SQL job check - PowerShell Universal - Ironman Software Forums
Currently I’ve added a check on the button, so in your example Don when the 2nd person clicks the unlock button it checks to see if the user still requires unlocking and if not (i.e. someone else has already unlocked the user) then display a modal “user has already been unlocked” (or something) and then refresh the table.