Jon,
Under the Options Dialog (tools menu) - go to the advanced tab and you can set an option to confirm changes before closing a recipe - that should help in the short term.
I did add a new option to lock recipes (per your request) to the next version of BeerSmith - though it has not been released yet. It should address your problem in the long term.
Cheers!
Brad