The "use GTC order to prevent shares from being loaned" concept is urban legend.
If you are borrowing from a broker (via margin) they have the right to use the collateral as they wish. You signed the same agreement that anybody with shares in a margin account did.
If you are not doing so, they can not lend your shares out (unless they ask you to).