There is a bug where once you get the lamp and make a wish, then replay the scene the effect the wish makes will apply (including multiple people getting immobile and locking out some endings).