Removed some unnecessary calls to LOCK.
Added necessary calls to LOCK in class CamerasManager.