What are a current tenant's rights when their rental home is being sold?

Question Details:

I am renting and my landlord is now a lawyer who has contacted a realtor to sell the house. They are planning to sell it with me as a tenant however I know not to count on it. What are my rights as far as changing the locks for piece of mind when there is a new owner showing the house when I am not home? Can they enter without my permission if I decide I want to be here when they show it? How long do I have before I have to leave if the new buyer decides they don't want a tenant the house can be a 1 or 2 family?

AttorneyPages.com Important Notice