Blocking date in Gantt

Hello, How is possible to block a date in the gantt ? I think it’s a mandatory feature for many reasons. Either the date is done and we don’t want to move it anymore or the specific date is not flexible.

thank you