First of all this was my first jam and if you don't know then if the soul goes onto the door without the player getting the key, then it will not let the soul go and say that "you must unlock the door first".
But thanks for your feedback.
I will for sure get some knowledge from other developers/submissions.