I’m implementing a system that when the user’s plan ends he blocks the mouse from clicking on the website header
You can simply use a condition to make an element “not clickable”.
Maybe you want to have a field in your database that says if the plan is “active” or “not active” and then based on that data you could set the condition on the element as follows:
When: Current User’s Plan is “not active” - this element is not clickable.
Hope that helps