Are there a way to prevent Unity IDE go into pause when switching to other software?

No that does not solve the issue.

What is Play Focused and Unfocused?
< https://discussions.unity.com/t/879224 >

  • Play Maximized. When you press play/pause, the Window > Panel > Game will maximized or minimized automatically.
  • Play Focused. When you press play/pause, the Window > Panel > Game will be automatically switched to from the window you currently on (Window Tab highlighted with blue thin line in 2022.3.7f1 as an example, showing which window you are focusing on).
  • Play Unfocused. When you press play/pause, the Window > Panel > Game will NOT automatically switched to it.