accidentally

Definition

In a way that is not intended or planned.

日本語 意図せずに起きたこと

Example

"He accidentally locked his keys inside the house."