Added LockGuard to Os/all.h