Stop losses and high sell orders. Do not set high sell orders. It doesn’t lock your shares. Your broker will loan them out because they know your order won’t fill.