The blocked feature is native to the Mendix platform. You could create an additional attribute, which you check upon login in in a custom microflow. If the boolean is true, you can return the desired message.
Hi Joey
we have used the custom login page still we are getting the account are blocked in the environments
can help resolving thius