Exclude Milestones from dependency changes

I would like to be able to exclude certain dates - for example those defined as milestones - from moving according to the dependency column settings. Meaning I want the date to stay the same while still having the element be part of the dependency chain in a gantt chart. All predecessors should still move according to the settings but not go past the milestone.
Of course this does not need to be restricted to milestones since they are always single dates and not timelines. Sometimes a project does however have certain tasks that take more than a day but need to be completed at a specific time no matter what.