Lockdown-maintainance-wordpress-plugin is a project mainly written in PHP, it's free.
A WordPress plugin that upon activation notifies all logged-in users of upcoming maintainance and forces their logout after a timer (default: 5 minutes) has expired. Only admin-users can access WordPress after that and all other users attempting to l
404: Not Found