Under Bankruptcy Code section 362(a), the "automatic stay" applies at the moment a bankruptcy petition is filed.
This offers protection from creditors who must file a "Relief from Stay" motion to ask the judge to terminate the stay to take action against the debtor or debtor's property outside of the bankruptcy court.