Trial hears building was ordered locked down after Tiny Hous