Is there any way to lockout a strapi user after 3 consecutive attempts

Hi there,
I am also looking to implement the same functionality in my Strapi backend, NextJS web app.
Did you find a solution or any idea on how to go about this?