added support for bitcoin wallet locking