How to Make Animation for Static Mesh?

I’m working on animation for the first time in my life. For my game, I needed to make it so that when interacting with an object, an animation would play (the object moves from one position on a door to another).

I did the following: I created a Skeleton Mesh from the Static Mesh. I even added two bones. I uploaded the Skeleton Mesh to Sequencer and specified how the object moves. Then I clicked Bake Animation Sequence, but the animation didn’t save. The object is immobilized, and the Timeline is empty.

How can I make a simple animation of a simple object moving? It shouldn’t be that hard, should it?