I don't know about Windows 10 but if you're on windows 11 go into settings->Personalization->Taskbar
Scroll down to and open "Other system tray icons".
Once there locate the icon you want (in my example it's VLC)
The turn the switch from off to on.
This will remove the icon from the overflow menu and always show that icon (well unless you close the associated program of course)