Security wise, you do wish to restrict the access of WP Admin area to certain users only. While, you can achieve this by going onto your site’s cPanel area but thanks to snippet below, with adding it to your theme’s functions.php file of your theme, you will be able to achieve this.

Snippet Source/Credit: WordPress Codex