First and foremost, you should try to unlock the driver's door using the key. Most of the trucks will have a mechanical lock on that side. And the key should offer you access to the inside. If you can manage to get it open, get inside and disengage the lock of the hood.