SOLVED: locking the screen put tethering in battery saving mode by default, which is totally insane. Anyway, modified the setting and now it works!

I am tethering my mobile connection from my Galaxy S23 to my Tab A9+. The A9+ looses its internet connection periodically, until I restart the hotspot on the S23.