Translations:Manual:Lock the database/12/en

Also note that this works by writing resp. deleting the file specified by $wgReadOnlyFile, so make sure the file permissions are set appropriately.