Check the door locks for corrosion and intermittent contacts. Could also be a break in the travel cable wire. Without actually watching it happen and seeing the relay fluctuations it’s hard to tell from here.