Today I am going to share with you all steps are needed for configuring screen saver correctly in Group Policy, we will set any X time that after this time the computer will lock automatically. It is the good security reason to create a policy of this kind, many users are forgetting to lock their computer which makes kind of security hole on the domain, Even some IT guys with high permission forgets to lock their computer sometimes.
Open your Group Policy:
Navigate to:
User Configuration\Administrative Templates\Control Panel\Personalization
And enable this policy:
Prevent changing screen saver:
Enable this policy as well
Password protect the screen saver:
look for “Screen saver timeout” GPO which there you have to specify after how many seconds the computer will lock ( I have set 600 which is 15 min)

Select ” Force specific screen saver” policy and enable it, insert this DLL: ( I chose default Screen Saver of Windows)