check the condition of the bonnet locking switch
its item 16 in this image
disconnect it, clean it and check its wiring is intact, its also possible the new bonnet isn't sitting down quite enough so the latch may need adjustment
do you still need help?
Bear in mind that the site takes a deposit from you at the beginning and this is held by the site until you rate my answer at which point the cash is split between the site and the expert. I am only paid for my work on this question if you rate my answer, using the star system at the top of the screen. Please do not forget! Thank you