When I try to include the header of mutex (#include <mutex>) after the windows one(#include <Windows.h>), all windows variables get destroyed, and the compilers gives out errors that STD:: functions are not defined.
Like I said, we should start with the name and version of the IDE and compiler that you are using. This will tell us if this particular C++x11 feature is supported or not. If it is not, then that would at least explain the issue that you are seenig. In that case the WinAPI still has it's own version of a Mutex that you may be able to use instead.
@ OP: HWND is defined in 'Windef.h' which should be brought in from a relative directory when you include 'Windows.h'. Do you have a current Windows SDK in your search path or are you trying to include this using only literal paths that you cut out when you posted this here?
Try reinstalling your compiler and make sure any other compilers (e.g. MinGW) are not in your system path when you try again (I usually just rename the MinGW folder with a dash at the end).