When I unlock my phone it goes to a map with my location on it?

So I have a iPhone and i don't know what I clicked on while it was in my pocket but when I unlock my phone like I normally do it opens to my maps app with just the dot on my location… I don't know how to fix it please help it's so annoying.

Turn off location, until you actually want to use it.