Android HR: locking/unlocking device