Yes its called a back door and they all have it. Probably more than one.
So why did the feds pay a million dollars to hack into parts of an iPhone 5s, if they all have back doors?