Group policies are used in many tricks, tips and hacks for Windows and they help to unlock some good features and force Windows operating system to do what you want.
To limit login attempt in Windows 10 you can download a xls file from Microsoft containing Windows local policies.
Click on Security tab
Now Find "Account Lockout Threshold" on Policy name column.
Now change the setting from Registry setting column and change the default value to your desired value.
Now Click on save and reboot your computer and see it working.