Heat coconut oil, sugar, milk, and cocoa powder in a saucepan.
Let the mixture boil briefly, then stir in peanut butter, vanilla, salt, and cinnamon.
Mix in oats until fully coated, then scoop onto a tray.
Shape into cookies and refrigerate until set.