Device switching can help but I've found that rotating user agents and clearing cookies every 5 interactions is more effective at avoiding temporary locks. On a test account last week, I was able to perform 27 actions without issue by using a combination of 3 user agents and clearing cookies, whereas switching devices alone only allowed 17 actions before a temporary lock occurred. Also, using a VPN to rotate IP addresses every 10 interactions can further reduce the risk of account restrictions.