Why not make it entrace-only, and always open?
Meaning you can cross into it even if you're late getting there, but you cannot leave until the boss is dead.