Nope, just called my cop friend.
A driveway is a “publically accessible drive”. If the gate is closed, its not publically accessible now is it.
When it’s in the garage, its considered in a dwelling, door open or closed. Dwellings are not considered publicly accessible unless otherwise specified.