Not entirely. They have a valid search warrant to it. They believe he has the key and is intentionally blocking it to prevent them access.
If that is the case, he is in contempt for refusing to follow a valid search order. He effectively holds the key to his own jail cell in that case unless he actually did forget the key which they have enough on him to think otherwise.