Commercial rentals are governed solely by the lease contract. If your lease says tenant may be locked out for non payment, or if it does NOT specify that written (or any other) notice will be given when payment is late, then it's probably legal. Take your lease to a local contract lawyer for review and opinion.