Very common on the focus for the bonnet catch to play up. It happened on mine a few weeks ago, I noticed also when driving every now and then it would flash up bonnet open on the dash. I just unplugged it and bridged the wires in the plug together with a small bit of wire.