Stairgate for toddler (GL5 4)

I am working with a homeless young woman who has a toddler and is in temporary accommodation. The room they are in is not safe for him as he can access the bathroom easily so we are looking for a stair gate that will prevent him accessing the bathroom when she is asleep at night and he wakes up before her.