Gov. Gavin Newsom will order all beaches and state parks closed Friday after tens of thousands of people flocked to the seashore last weekend during a heat wave despite his stay-at-home order, according to a memo sent Wednesday evening to police chiefs around the state.