The game automatically pauses when player opens up a menu of any kind (except for the "game menu" which usually contains save game and exit options as it's normal for them).
Autopause
The first Autopause: Menu video game was released on November 10, 2015.