Reservoir engineering with localized dissipation: Dynamics and prethermalization