Restrict Login Subscriber users from accessing frontend

https://wordpress.org/plugins/restrict-content/ is a kind of solution. Check out.