That...is a pretty broad question.
Puzzles can come in all shapes and sizes, so there is no way I can give you a tutorial on making a puzzle game that you specifically want.
Instead I suggest you learn how to use your game engine first (which I assume is Godot). Start with baby steps until you can run towards your dream game.
Kidscancode's video series should come in handy. Start with this one.