Please remove the indent here. ex:

var reqSetPasscode = lock.set({
  'lockscreen.enabled': true
});