Hello Thanh,
When you are outside your local network, you and the Windows PC are typically on different subnets. When you connect to your PC by using a Remote Desktop client, you're creating a peer-to-peer connection.
This means you need direct access to the PC (sometimes called "the host"). If you need to connect to your PC from outside of the network your PC is running on, you need to enable that access. You have a couple of options: use port forwarding or set up a VPN.
Reference:
Remote Desktop - Allow access to your PC from outside your network | Microsoft Learn
I hope this information helps.
If the Answer is helpful, please click Accept Answer and upvote it.