Try to go near the bed and that make your soul separate in your body so you can go through doors and collect the keys then try to sleep again, that should bring your soul to your body and try to open the door.