If you are using Windows for a long time, you must have seen there is no limit for login attempts and this gives the space to anyone for trying as many as password they can try.
Follow this simple procedure to limit login attempts in Windows 10, Windows 8.1 and other versions :-
Limit Login Attempt on Any Windows
Step 1: Press Window + R to open run option on your Windows.
You can also do it by Windows + X and choose Run from there.
Step 2: Type gpedit.msc to open group policy editor.
2. Choose Yes in User Account Control message.
Step 3: Locate Account Lockout threshold within Computer Configuration > Windows Settings > Security Settings > Account Policies > Account Lockout Policy > Account Threshold.
Step 4: Open Properties of Account lockout threshold and select properties.
Step 5: Now put any value to lockout your computer after x many invalid attempts.
Step 6: Confirm suggested value changes on popup.
This will definitely increase the value of the security on your computer. Many security experts recommend this to do on priority basis. In case if you are using Windows version which does not support group policy editor then you should try below method :-