Re: I am not familiar with activity locking.
I have managed to investigate "activity locking". It sounds perfect for this purpose and an early introduction even mentions implementing exactly what I am after. However, the person currently maintaining that code just stated that it is not supported. I am going to follow up on this, though, to see whether I can twist it for my purpose or expand their code. Would be wasteful trying to do it from scratch for a single activity.