Added lock() and unlock() in setup stage for getting the pot default values.
Merge branch 'master' for getting the pot default values.