Hey David,
Yup, this is entirely possible! You could easily also integrate a menu with an exit game functionality as well if you would prefer a little more control over it.
Essentially, you would want to set up a function or part of your blueprint (on the playerpawn I believe) to where it has a timer attached to it, and when the timer hits 0 from a countdown of 4 minutes, it then triggers a load to the menu UI. You could even do this almost entirely in the level blueprint itself if you wanted to by using structs in tandem with the playerpawn and level blueprints.
Let me know if you need any more info, and I’d be happy to oblige!
- Sinari