I'm setting up a kiosk Mac with Mojave installed and need to remove the prompt to require a password after the screen saver begins. I would like to change the setting through a script so it doesn't have to be changed manually. I've tested a few scripts I found online but they didn't change the settings. Is anybody able to advice how to do through a script or terminal command.

