Wait... the lady was on a chair, meaning she was tied up.
The gun is fired when you open the door...
That makes two possibilities...
You are the murderer, which is highly unlikely...
Or the gun was rigged?
Unless he was hiding behind the door... still unlikely, given how murderers tend to not tie people up before they shoot them...