To prevent ads from showing up in your Windows Settings menu, open the Settings app and navigate to Privacy & Security > ...
To prevent users from locking their Windows 10 computer, follow the steps below to disable the Lock Screen in Windows 10.