As I only have one entry with a foldaway bed, I searched for some more. It’s called different like wall bed, pull-down bed, fold-down bed and Murphy bed. The latter one with most success.
Most movies and series are classics (b&w) and mainly comedy. The only one of interest with younger actors I found is this.
This pic is from s1e13 (2005) showing two foldaway beds (next each other). Unfortunately not the Sprouse twins but teen girls. London and Maddie (not sisters). This is the room of Maddie (and Mary ?). London who has to stay there, is being trapped and pulled up by the bed.
Very good series rating 6-7. But for bedroom scenes rating 5 only. Main entry (messy room of the boys) at