How to turn off water to replace main shutoff on private well
Yes, turning off the breaker for the well pump and draining the lines will prevent the water from coming back on and re-pressuring the tank and lines.

I'd put a note on the breaker panel to "stay out" until you are done.