Added code for LockContentionDemo

Added code for LockContentionDemo