Added cmdSampleViewLock.cpp