Why not, after they get aboard and realise that something is wrong, pump the ship full of knock-out gas, leaving them free to roam the ship in safety?
Common sense has to give way to story telling.
Commander Austin Harris, First Officer, Deep Space Nine (by FltCpt. Bossco)
8.01 - Darkest Before Dawn
(Chapter 8 added, 12/09/2015)