The restrictions on social media accounts could be solved through appeal. 21 people died in immigration detention in 2020.