To block a website on Windows 10, head to Microsoft's Family Safety site and log in with your adult Microsoft account.
You can block individual sites, or only allow your Mac to access certain sites, via Screen Time.