On vehicles with power door locks, the doors automatically lock when the shift lever is moved out of (P) Park for a vehicle with an automatic transmission.
For a vehicle with a manual transmission, the speed must be greater than 5 mph (8 km/h).
The automatic door locking feature cannot be disabled.
Chevrolet Cobalt Service & Repair Manual. Door Trim Panel
Front
1.
Disengage front door upper trim panel
retaining clips, then remove trim panel, Fig. 1.
2.
Remove front door armrest retaining
screws, then disconnect electrical connector and remove armrest.
3.
...