Does it violate the criminal law?

Criminal detention must meet two conditions at the same time: 1, and the object of detention is a flagrante delicto or a major suspect. An active criminal refers to a person who is committing a crime, and a major suspect refers to a person who has evidence to prove that he is suspected of a major crime. 2. One of the legal emergencies. A flagrante delicto or a major suspect under any of the following circumstances may be detained by the public security organ in advance: (1) being prepared to commit a crime, committing a crime or being found immediately after committing a crime; (2) The victim or on-site witness identifies him as a criminal; (3) criminal evidence is found around him or at his residence; (four) attempted suicide, escape or escape after committing a crime; (5) It is possible to destroy or forge evidence or collude with others; (six) do not speak the real name and address, the identity is unknown; (7) Being seriously suspected of committing crimes on the run, committing crimes for many times or committing crimes in association.

I don't think your father's condition meets the two conditions of criminal detention. The criminal detention of your father by the public security organ violated the criminal procedure law.