You should have waved the gun at him and said "if you come back here you will have more to worry about than being lost". they were up to no good and there is no telling what would have happen to you if you had open the door. Should have told him the police were on the way and could guide him to wherever.