Hello, the problem was a Windows Server Update: KB5014742
After installing this update, Windows devices might be unable to use the Wi-Fi hotspot feature. When attempting to use the hotspot feature, the host device might lose the connection to the Internet after a client device connects.
The problem was solved uninstalling that update.