How to make thirdpersoncharacter play dead?

Ok so i am working on a game project (UE4 project) and i name it Broken World.

The problem is that i wanted the player to not move or suddenly lie on the ground or the game screen stops and will say “Game Over” or “You Died” and everything stops and have a chance to make restart the game again.

thanks for the help