In reply to Jan Veerman.

@Jan: You need to use what are called in Dorico multiple voices. Each voice allows you to have an independent rhythm simultaneously with other notes of different durations on the same staff. Try starting here in the Operation Manual.