If a stay in a hotel for less than a month you can be locked out of your room if you do not pay the daily rate or if you break some rule of the hotel. On the other hand, it is an entirely different game if you stay for a month or more. In this case you become a tenant and the tenant/landlord law applies.