If safety is important to you, you should probably consider just picking a laser that has a lock from the get-go. Transplanting the parts seems like it would be a waste of time/money when there are models that come with it already, as well as the option to build one with your own driver/diode...