Five-time Grand Slam winner Maria Sharapova admitted it was frustrating to be knocked out in the first round of Indian Wells by Japan's Naomi Osaka.