Replaced Mutex and Lock with their c++11 equivalents.

Signed-off-by: retep998 <retep998@verizon.net>