Depends if one has a margin account or cash account. Locking up shares so shares cannot be borrowed in a cash account works, not true with margin accounts, shares can still be borrowed regardless. Just an FYI.