Door open warning light

  1. My model of MX-5 is: 2018 nd skyactiv 1.5
  2. I’m based near: __Glasgow
  3. I’m looking for technical help or recommendations on: __Recent acquisition, on 2 occasions the door open warning like came on after stopping and switching engine off.
    Doors were closed and when I got out doors wouldn’t lock with fob.
    It seems to be an intermittent fault