You can add below code to your .htaccess file to put your website in maintenance mode. With this code if anyone try to access the website will be redirected to maintenance.php mode.
RewriteEngine On
RewriteRule !^maintenance.php$ /maintenance.php [R=302,L]
But if you want to use your website...