Probably your best bet is programming in access codes that can be entered via terminal, or even an arrangement of buttons, then instead of revoking all shared users, just revoke their access code.
Also, it might not be best practice to have the ability to unlock the door from anywhere, so you might also want to code in proximity sensors, so at least someone has to be in front of the door for it to work. GPS streaming might also work for ballpark range.