N.I.
This is what my daughter-in-law did. She put a child proof gate in the doorway so if he got up and you didn't know about it he was safe from going outside accidentally or getting into things you aren't aware of. She just made sure his room was childproof. Works like a charm.
He is now 2 1/2 almost three and we have stairs in our house so when he stays over we put up two gates - one on top the other - so he can't climb over and keeps him safe and he doesn't mind it at all. We are very diligent so we usually know when he is awake but it really helps us know he can't fall down the stairs or get into something he shouldn't be in.
N.