sync easy win32 solution and clean easy_lock code