Windows 7 hibernate only locks computer [duplicate]

Somehow BCD database got corrupt.

Solution is to reboot to Repair mode and either run Automatic repair or use command prompt and repair BCD with bootrec /rebuildbcd.

In this case, Repair mode detected corrupt database and rebuild it automatically.

It's good practice to backup original /Boot/BCD file first. Also it's good to have at least install DVD or USB or some recovery PE in case something goes wrong.

In case you have multiboot setup, this procedure might mess it up.