You simply right click on the layer in question and select “Convert to Smart Object.” You can also create a smart object out of multiple layers. Shift + click (or Ctrl/Cmd + click) to select the layers you want, right click, and select “Convert to Smart Object.” The layers will merge into a single smart object layer.