Your car may have been programmed to fold its mirrors when locked via the I/R Key. To find this use the menus accessible on the steering wheel controls and (I Think) its..... Readouts in centre of speedo, controls on each side of steering wheel
Menu > Up arrow . till you see "Convenience' Vehicle and Lighting" displayed, then use the '+' button on the right of the steering wheel to navigate/scroll to the bit which allows you to choose whether you want the mirrors to fold in on locking or not.
Good luck in your search for what I consider to be a very useful feature.