Back feeding the grid is dangerous, but if locking out the main breaker makes it safe for an electrician to work on the house wiring when the other side (grid) is energized, then the reverse should also be considered safe. The big IF is remembering to lock it out, which is why following a written procedure is important.