Used this module and able to complete the requirement, without using custom action, 'sign in' & 'block' functionality are working fine and with below widget able to do upper case of username:
Login form helper widget:
https://marketplace.mendix.com/link/component/107615
Yes Himanshi, You can keep track of login attempts, once max attempts reached you can block the user and intimate the user , that user has been blocked and we can allow them to login after 5 mins. Time also can be tracked