You don't lock the wrist. You lay it back as part of preparing to swing. After that the wrist is basically along for the ride. It naturally unloads on the follow through. One thing you don't want to do is try to swing with the wrist. The main motion that many describe as wrist snap is actually arm rotation.