Not if the attacker stops the relay right after the PC is unlocked.
No, if it happens the program falls back into the "user is away->lock the computer" mode.
Not if the attacker stops the relay right after the PC is unlocked.