Freeing Brick in Cyberpunk 2077 is a possible optional objective in Act 1 mission The Pickup.
Provided Brick has survived in the mission, there will be a side-mission to find a way to free Brick as you complete the main task of escaping All Foods.
Once you have done that, he's not able to flee just yet - with the follow up task of disarming the trap preventing Brick's escape.
This page explains how to complete both objectives before you complete The Pickup.
How to free Brick in Cyberpunk 2077 mission The Pickup
Provided he's survived to this point, Brick will be held in a room in the first area as you escape from All Foods in The Pickup. When you approach the door, the find a way to free Brick objective will appear.
To open the door, activate the scanner mode, and look at the door terminal to the left.
This will come up with a number of options. Select Remote Deactivation, and the door will swiftly open itself to you. A seemingly straightforward solution, but since this is an early game mission, it's something you might easily overlook.
If you don't have enough Cyberdeck RAM - you need 2 slots to do this particular hack - then remember if you have any perk points available in Intelligence, you can unlock the Biosynergy skill, allowing you to recover RAM passively during combat.
For more help with Cyberpunk 2077, we have pages on systems such as Cyberpunk 2077 life paths, Cyberpunk 2077 attributes, stealing cars, money making, XP levelling, Street Cred, best Cyberpunk 2077 armour and clothing, best Cyberpunk 2077 weapons, romance options. As for missions, we have a main story quest list, and how to complete early-game objectives such as freeing Brick, whether to pay back Viktor in Paid In Full, the The Information Braindance, how to wait for lockdown, Cyberpsycho Sightings, Tarot Card locations, and Johnny Silverhand items. We also have explainers for Cyberpunk 2077 endings, how long to beat Cyberpunk 2077, whether you can change appearance later in Cyberpunk 2077, Cyberpunk 2077 PC specs, photo mode and Cyberpunk 2077 Trophies and Achievements.
How to disarm the trap preventing Brick's escape in Cyberpunk 2077 mission The Pickup
As you approach Brick, he'll mention he's currently trapped by a mine. If he moves an inch, he's toast - so it's down to you to disarm the trap and set him free.
There are a few ways to do this. One is by directly disarming the mine - look at it, and provided you have enough attributes in Technical Ability, you should be able to disable it.
Otherwise, you can find the detonator. Leave the room, and enter the door immediately to the left. On the side is the detonator.
Pick it up, then disarm the charge. (You can also opt to blow it up - the choice, ultimately, is yours.)
Now Brick has been freed, you can engage in a proper conversation about the mission in question. To wrap it up, you can select 'You owe us' - suggesting a favour will be coming down the line.