accidentally on purpose
US /ˌæksɪˈdɛntəli ɒn ˈpɜrpəs/
UK /ˌæksɪˈdɛntəli ɒn ˈpɜrpəs/

1.
doing something intentionally but making it seem like an accident
:
•
She accidentally on purpose spilled coffee on his new shirt.
•
He left the door unlocked accidentally on purpose, hoping she would come in.