That depends on what they are looking for, what information was given to the Judge that issued the warrant and what the warrants wording says. It is very possible that the warrant didn't include the locked safe but with the limited amount of info here no way to tell. Get an attorney and make the argument for sure.
You always start by looking at the warrant itself. Does the warrant authorize searching locked containers? Search and seizure questions are something that you will definitely need professional help with. Contact a criminal defense attorney and go over the facts of what happened. That way they can give you an answer tailored to your specific case.
Craig Cahoon The Cahoon Law Office, PLLC 206-795-1779 firstname.lastname@example.org
As my colleagues have mentioned, it depends on the specifics of the warrant. If the police exceeded the scope of the warrant, it could lead to suppression of some evidence discovered. An attorney will know how to research this issue in full and submit a suppression motion if appropriate. If you don't have one already, I would recommend consulting with and retaining an experienced trial attorney.
Jeff Holmes - Attorney at Law - email@example.com - 360.975.9288. Disclaimer: This answer does not constitute legal advice. This information is based on general principles of law, as well as my general experience that may or may not relate to your specific situation. This information is not meant to take the place of actually consulting an Attorney in your jurisdiction. If you would like legal advice, I would recommend consulting an attorney in your locale.