Disable player respawn in verse

Hi y’all
I’m trying to control player respawn in my game. I want to allow respawns but only up to a certain point of the game. Is it possible to control this dynamically in game?

Thanks in advanced