Mako used her Bastiodon to block the door, making Hiori unable to escape.
Mako used her Lopunny to take Hiori's mask away because Mako wanted to know the identity of Pokémon seven. Lopunny later took the camera back when it was about to be stolen by Hiori.