On my ride through Illinois, Missouri, and Nebraska I found myself in an area of St. Louis I didn't care for. It was night and I did find a hotel. Of course, it was 3rd floor. Off came the panniers and gear. Throw the bike over the shoulder and up the stairs I went. In East St. Louis, I really didn't want to leave my bike outside. I did ask permission and the clerk 'recommended' I didn't leave it outside all night.
I was really careful not to get anything dirty.
BTW, a hot shower after several days on the road was nice.