Why did my locked door open by itself?
Because although it was locked, the latch was not fully engaged. If it was very cool inside and very hot outside, especially if there was any humidity, I'm not surprised to hear that the latch didn't click into place the last time it was closed.