In the first photo the gap in between the pump unions and the elbows at the face of the pump and on the side of the pump is where there should be gate valves but looks like they cheeped out. In the second photo there should be a gate valve to the right of the blue Neo Spa pack.
To add a gate valve to the first photo you will need a 2" pump Union, S X SPG Gate Valve, 2" pipe coupler, 1' of 2" ridged pipe, glue. Pretty tight fit to get it all in there and connected together. Not going to be easy if you haven't done it before.