code: def unlocked(func_or_obj):
      
      if ismethod(func_or_obj) or isfunction(func_or_obj):
          return _unlocked_method(func_or_obj)
      else:
          return _UnlockedAttribute(func_or_obj)
docs: This method unlocks method or class attribute on a SecureController.  Can
      be used to decorate or wrap an attribute