Add PIN locking to diagram