How to disable physics when two collision boxes overlap

I am trying to create a lock for a physics door and i’m having a little trouble. I set up a collision box around the door, and then two boxes near the lock, one for the lock and one for the lock slot, int he picture of the door i attached, the tiny box inside the bigger one is the lock slot, and when the player is inside the collision i set around the door AND the big box is overlapping the smaller one, when I press E I want the door to stop simulating physics, but I cant get it to do it. I also attached a picture of my setup as well.

Hey try enabling input on event begin play. See below;