In the UK, there are rules that say it is wrong to use someone else's account or change their computer without permission. This includes
Even if you were just being curious, it can still be against the law.

Most children do not mean to cause harm. They might just be curious or want to try something new.
Some reasons children get into trouble online are:
If a child does something online that breaks the law, there can be serious consequences, such as:
Even trying to log into someone else’s account can cause big problems.
If you love computers and solving problems, there are lots of good and safe things you can do instead.
You can:
With help from your teachers or parents, you can learn great skills and stay out of trouble.
If you think you did something online that was not okay:
Everyone makes mistakes. What matters is telling the truth and asking for help early.