One of the symptoms of depression can be the lack of motivation to do anything yes, and depression can also make some people not want to go out as they don't want people who know them see them in while they are depressed.
However it is important that you try and go out as much as possible as continuing to do things as normally as possible can often help in reducing the symptoms of depression.