Legal analysis: you can entrust a lawyer to go to prison and ask someone to write a power of attorney. Entrusting a lawyer is the legal right of a criminal suspect. A criminal suspect has the right to entrust a defender from the day when he is interrogated for the first time by the investigation organ or takes compulsory measures; During the investigation, only lawyers can be entrusted as defenders. The defendant has the right to entrust a defender at any time. In a case where the people's procuratorate decides to initiate public prosecution, the prisoner in custody may meet and correspond with the defender entrusted by himself or the defender designated by the people's court after receiving a copy of the indictment.
Legal basis: Article 33 of the Criminal Procedure Law of People's Republic of China (PRC). A criminal suspect has the right to entrust a defender from the day when he is interrogated for the first time by the investigation organ or takes compulsory measures. During the investigation, only lawyers can be entrusted as defenders. The defendant has the right to entrust a defender at any time.