Dooring is a term for when someone opens a car door and causes and accident with a cyclist. It is against the law. Always make sure it is safe before you open a car door.
MGL c. 90 s. 14
No person shall open a door on a motor vehicle unless it is reasonably safe to do so without interfering with the movement of other traffic, including bicyclists and pedestrians.