Mockup Advice

Hi, I’m trying to find a tutorial on how to create a bedding mockup with existing placements and patterns. However, all the ones I have found have already got their smart objects and mask layers. I want to know how to do all that so I can just drop in a panel and it warps to the existing bed shape.

I hope that makes sense.

Thanks.