Added keyPickedUp. Now requires to pickup the key in order to be able to go through the door