How to block a website by URL for FREE
Navigate to C:\WINDOWS\system32\drivers\etc
Edit the hosts file (with notepad) by adding a line at the bottom:
0.0.0.0 facebook.com
Then save and close the file.
If you want to prevent changes to this file - simply do not allow others to login to the computer as an administrator.