This is not true. Everyone should check with their own broker to confirm, of course, but the only way to prevent the borrowing of your shares for shorting is to keep them in a cash account. If they're in a margin account, they can be borrowed, no matter what kind of order you might have for them.
It's in the best interests of the shorts to keep propagating this myth, because if all you do is put a high sell order on your shares, they'll still be able to use them for shorting.
Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.