As mentioned one week is probaly fine for a snake to be alone if your husbandry is dialed in. Now if you are waiting on eggs then thats a different story. Lizards on the other hand would need to be monitored but snakes should be fine. Now two weeks or longer you will probably need to feed or at least clean up so length of trip is key.