An error that cleared by itself after locking the car and coming back is typical of a temporary fault that resets when the car fully powers down. It's worth recording it: the date, the warning text and what you were doing. If it recurs, take that to the dealer so they can read the fault log. Please add the model and software version, and ask others to say if they've seen the same.