https://www.jetbrains.com/help/pycharm/run-tool-window.html#pin_tabs
To pin tabs by default, press Ctrl+Alt+S to open the IDE settings, select Advanced Settings and enable the Make configurations pinned by default option.