That's right, there are a lot of rules any employee should respect, and he also has certain rights that the company he is working for should respect. Moreover, it depends on which country you work for because each country has a specific set of rules. When I was in quarantine, I got a remote job. Even if the website is international, the company is American, so all the rules apply to any typical American company. I didn't have any problem with this kind of thing. However, we quickly solved misunderstandings because I knew my work contract well.