I think that really does depend on the broker and
Post# of 148170
I do not have a margin account but had to open a special account to prevent my broker from lending out my shares.
Edit: it's probably part of (discount) brokers business model to make money lending out shares of customers.