The correct idiom is “look into a matter,” meaning to investigate or examine it. “Look in” generally means to visit briefly or inspect the inside of something, while “look onto” and “look inside the matter” do not fit this context.