The executive branch must gain approval from the judicial branch before being granted a search warrant. This provides a check on the executive branch preventing it from conducting unreasonable searches without probable cause. This is also due process. The laws which establish the criteria for gaining a search warrant are initially written by the legislative branch, which helps to create another check and balance to the system.
Strictly speaking in terms of prisoners, the constitution dictates how the legislature must provide certain policies for carrying out due process in the corrections environment. The legislature also writes rules for how prisoners are to be treated. The executive branch, or the correctional system, must carry out these laws through various procedures. The judicial branch then holds the power of review to ensure that procedures enacted by the legislature and carried out by the executive branch are in line with the