When he sees that the Doctor can't get the door open, he hurries to look for another way in. Even if the Doctor does manage to get the door open, it'll help to have another option. Or maybe he could sneak in while the Doctor and Jack charge the front...The Master may be expecting Torchwood, but Ianto's easy to overlook.