From the linked article, "
The doors were completed with locks on the outer side as well.
The victims insisted that the hotel did not inform them about the secret doors during check-in. The hotel owner claimed that he installed secret doors for mistresses to escape from their lovers’ partners."
So the doors were locked from the outside but were to allow people on the inside to escape. Makes sense. To the police anyway.