The Content Editing Message (content_editing_message) module allows you to add a message to content forms with multiple displays options. The module has a configuration page in which this functionality can be applied to one (or more) content and media types. Addicionally you can configure the message itself and how it is styled: info, warning, error or plain.
The configuration page can be found in /admin/config/content/content-message
.