Can you give me the model number of your computer (I know you have said Lenovo p50 but I need the exact model or the serial if possible)
I also need the OS your PC is running.
Can you tell me the version of the BIOS controller you have installed.
Please boot into the BIOS.
Please tell us if you restart (rather than shutting down) do you get the same issue please?