Can a lawyer be released from detention?

As long as one of the following conditions is met, the lawyer can be released from criminal detention: 1, and may be sentenced to control, criminal detention or independent application of additional punishment; 2, may be sentenced to more than fixed-term imprisonment, the application of bail will not cause social danger; 3. Women who are seriously ill or unable to take care of themselves, pregnant or breastfeeding their babies will not be socially dangerous if they are released on bail pending trial; 4. After the expiration of detention, if the case is not settled, it is necessary to get a bail pending trial. Legal basis: Article 67 of the Criminal Procedure Law of People's Republic of China (PRC): Conditions for obtaining a guarantor pending trial and its enforcement The people's courts, people's procuratorates and public security organs may obtain a guarantor pending trial for a criminal suspect or defendant under any of the following circumstances: (1) Those who may be sentenced to public surveillance, criminal detention or independently apply additional punishment; (two) may be sentenced to more than fixed-term imprisonment, bail will not cause social danger; (3) A woman who is seriously ill, unable to take care of herself, pregnant or breast-feeding her baby is released on bail pending trial, which will not cause social danger; (four) the detention period expires, the case has not yet been settled, and it is necessary to get a bail pending trial. Bail pending trial shall be executed by the public security organ.