You always want to make sure that the doors and the windows are always locked when you leave to go anywhere. Do not make it easy for an intruder to get inside your home. Keep things secure and well protected with good quality locks that will be tough for anyone to pass by.
You will also want to make sure that everything is secure inside the home too. If you are just leaving for the day, make sure that lights are off and anything electrical if turned off as well. If you are leaving for a few days, you may want to turn the water main off in the home as well as the hot water heater too. This will protect your home from unexpected breaks or leaks that can occur at any given time. You do not want to come home to the surprise of having a flood in your home.