As long as you do not spotlight a game animal out of season. You have a loaded weapon in the car that is caliber enough, no varmint calls or other means of varmint hunting, and happen to shine your spot lights on a bull elk.......
If you are sitting in a blind, with a portable predator caller, and a hand held portable light....different story and hard to convict for anything, even incidental harassment.
I used to hunt coyotes at night in Or. Had red covers for my driving lights, predator call going, and carrying a .22-250. Had a wiggle toy on a rope about 50 feet in front of the truck. Not a problem if you are clearly set up varmint hunting. They come in quick that way so started carrying a shotgun. Got more with my .30-30 than anything. Swung faster and easier to pick out a target in the dark.