ClearWater II 100 Sq. Ft Cartridge Filter & 1.5 HP

Just bought a new pool and the ClearWater II 100 Sq Ft Cartridge Filter & 1.5 HP motor.  It is time to clean the cartridge, but I’m not sure how to block off the water from the in or out hoses so I don’t lose all the water.

Please help !!!