If you are dealing with a reputable cleaning company, then you should feel comfortable handing over your security code. Some security systems enable you to use a separate code which you only use for the cleaning service. If you are worried about privacy issues, then consider installing a video surveillance system such as CCTV