"Locked by the server." means that there is mark that database is locked in NetXMS database in config table. This can be in two situations - if server was stopped incorrectly or if NetXMS server is currently running. This flag is used to prevent change of the database while server is running (this action can be unsafe).