Quick reference for Solenoids and Relays:
Mini 5V solenoid from Pimoroni
8-channel relay board triggerable from 3v3
Controlling a relay from GPIO Zero
Relay board HAT from SB Components
Lots of stuff on YouTube, less available as text, so let searching YouTube for “raspberry pi relay” be your first call.