Hello,
Thank you for posting in Q&A forum.
To achieve this purpose you can:
1.Navigate to the network adapter, right-click on your active network connection and go to Properties.
2.Go to Sharing tab and uncheck "Allow other network users to connect through this computer's Internet connection".
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best regards,
Jill Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.