How to hide window border of the game?

This is the option you should be looking for in the menu. Set it to Fullscreen or Windowed (Borderless).

enter image description here


You can press alt+enter to put it into fullscreen, or you can turn off TeamViewer (If you have it).