Mockup background editing

I’ve noticed on Etsy that certain shops are now using their main product image as a blurred background, but keeping certain elements of the original background in place (like the marble shelf a product is sitting on, for example). Can anyone point me in the right direction to accomplish this? (I have PS, just very new to it)