We know a boggart can be destroyed by Riddikulus.
We also know that Boggarts can move as well.
"Boggarts like dark, enclosed spaces," said Professor Lupin. "Wardrobes, the gap beneath beds, the cupboards under sinks -- I've even met one that had lodged itself in a grandfather clock. This one moved in yesterday afternoon, and I asked the headmaster if the staff would leave it to give my third years some practice."
Do we have any info, canon or interviews, on how are boggarts created?