How to make a switched outlet, half switched, half hot
You want to break the connecting tabs off the receptacle (bend back and forth with needle nose pliers until metal fatigue causes them to break off), then just wire one plug to always be hot, and feed the other one through a switch: