In The Shawshank Redemption, when Brooks is released, the camera is pointing back at the prison, indicating his connection to it and reluctance to leave. When Red leaves, the camera points out of the prison towards freedom, because Red hasn't yet been institutionalised.