On door open - Logic problem

I'd bet @anon46966594 has something for you, but the wokwi.com link in his #16 is broken, at least here.

a7