This meaning refers to copying or speaking about someone in order to make them appear foolish.
The children mocked his unusual accent.
It is wrong to mock people for their mistakes.
This meaning describes an artificial version made for practice, demonstration, or decoration.
The actors performed in a mock courtroom.
They created a mock website for testing.