You need to wait for the car to go to sleep. Yes cars do actually do this. So open the bonnet, lock the car and leave it for at least half an hour. If it has a switch on the bonnet that activates a light or an alarm or anything then make sure you press it down with something so the car thinks bonnet is shut.
Wait for at least half an hour for the car to go to sleep before testing anything.