Since TSW 2 even in TSW 3 On the first scenario and even random when driving the M3 the doors are Not closing. Xbox Series X
Try putting the master controller in max brake before opening and closing the doors. The m3 has an issue where the doors won't close unless you're in max brake most of the time