Block users from accessing the wp admin area


The title says it all. I've created a plugin following the instructions below:

Here's the code I'm using:

I've uploaded a folder named hides-wp-admin-panel with a file of the same name in it, containing the code mentioned above, but users still can access /wp-admin. How do I solve this?