Added Mutex<T> and Lock<T> for guaranteed thread synchronization
Renamed Mutex to SharedResourceMutex and Lock to SharedResourceLock
Added AutoLock for locking Lock instances