Enable Maintenance Mode

Once you have uploaded the plugin, activate your plugin in Plugins -> Installed plugins.
Go to Appearance -> Maintenance Mode and enable the Maintenance Mode.

Enable maintenance mode