Deadbolts and chains don't help if you're not in the room, since you can't lock those on the way out. I suppose this is why many rooms have safes as well, although I'm sure those are riddled with security defects too, like everything else.
Many of them don’t have a back or the back slides out the only thing you need is to unscrew a few screws often wood screws since hotels love screwing them to a shelf in the closet.