Customizable password brute-force protection

It would be nice if password protection could be configured. How many times user can enter password incorrectly, after how long these restrictions saved, write to the log of everyone who logs in. Also, it will be nice to have pin protection for HA screen.