Before leaving the vehicle, fully press the clutch pedal down, move the shift lever into R (Reverse), and firmly apply the parking brake. Once the shift lever has been placed in R (Reverse) with the clutch pedal pressed down, the ignition key can be turned to LOCK/OFF, then remove the key and release the clutch pedal.
See Manual Transmission Operation.
Shifting Out of Park (Automatic Transmission)
Parking Over Things That BurnChevrolet Cobalt Service & Repair Manual. Hood Support Strut, Replace
Warning: Body injury may occur
if no supporting rod is holding hood open when removing hood support strut.
Apply pressure only at end of
hood assist rod for removal or installation. Do not apply pressure to middle
of rod because damage or bending will result.
...