Chapter 5 traps players inside a room with Huggy, and they'll need to find three batteries & an optional locker code to escape it.
There's a locked door in Conditioning with a strange emoji keypad in Poppy Playtime: Chapter 5, here's how to get the code to unlock it.