Can we leave without solving the room?

Of course. The main room entrance door will always remain unlocked, and players can leave at any time for a break, restroom or whatever reason. Do be advised that the timer will continue running whether you are in the room or not.