Send lock dependent on the project phase

Mass message sending can only be initiated in a project that is in the execution phase.

Additionally, after the server is restarted, messages defined for sending with a future date will be sent out, provided that the project is still in the implementation phase.