Actually the router will connect to 5G when signal is better than -50. I.e. -50 5G signal will be prior than -30 2.4G signal.
So if you do want to connect to 5G you may have to lock 5G band.