As a guest, if a listing said "lock on bedroom door" I'd expect it to be lockable from both the inside and outside.
That setting is common to all types of listings, including ones where there may be other guests in other rooms.
So I think that a guest would expect to be able to lock the door when they're in the room and also secure their belongings by locking it when they're out.