(a) Except as provided in subsection (c) of this section, a person driving or otherwise in charge of a motor vehicle may not leave it unattended until the engine is stopped, the ignition locked, the key removed, and the brake effectively set.
(b) A person driving or otherwise in charge of a motor vehicle may not leave the motor vehicle unattended until, if the vehicle is on a grade, the front wheels are turned to the curb or side of the highway.
(c) (1) When a cat or dog is left in the unattended vehicle of an on–duty law enforcement officer or an animal control officer, the provisions of subsection (a) of this section do not apply to the law enforcement officer or the animal control officer.
(2) Subsection (a) of this section does not apply to a person who:
(i) Is in charge of a motor vehicle that has had the engine started using a remote keyless ignition system and has been operating unattended for up to 5 consecutive minutes when the vehicle is not in motion; or
(ii) Allows a motor vehicle that is locked and is on private property not open to the public to operate unattended for up to 5 consecutive minutes when the vehicle is not in motion.