35. The director or his delegate shall not be prosecuted for acts done in good faith in the performance of his duties. Such persons may, by all the legal means they deem necessary, inquire into any matter within their jurisdiction. They may enter any premises or place in which there is a child whose security or development may be considered to be endangered.