He was asleep until tied up and moved to the basement. He was knocked out by a baseball bat in sleep.
Even if he had a weapon he would have had no chance to use it. Would a home security system have worked? Yes if the robbers broke in. However, if they got in because the doctor's family forgot to lock the door, the alarm would not have been triggered.