Shoppers were stuck in long queues after a police incident unfolded near the major Perth shopping hub.