If your husband has been charged, he should retain a criminal defense attorney to represent him. The lawyer will review the case and circumstances and advise as to how to proceed.That said, from what you write, your husband's defense will probably turn on two related concepts:1) It is not breaking and entering to enter with permission; that your husband was given the garage code could be taken as permission to enter the garage for any purposes related to the work, including retrieving tools left there.2) A criminal conviction requires not just a criminal act, but also a criminal state of mind ("mens rea") or intent. If you husband believed he had permission to enter, as evidenced by being given the code, then even if your husband was wrong, he should not be considered to have had the necessary criminal intent.