In some of the less expensive 22 autos (Mossberg is one, which I own), when you pulled back the bolt it would not stay open unless you moved the knob up to hook it in the slot. Generally, when you rack a round into the chamber, the bolt is closed after the round is chambered. You press the trigger, bang, empty is ejected, and new round chambered. If it does not close, there is a problem or as in some pistols, the magazine (tubular also) must be inserted for it to go back into battery (bolt closed).
PR, I know about being bored. Yes, please do your shopping if you are in the market for a 22 rifle. Don't just buy the cheapest thing around. Do your research and then buy. The Marlin Model 60 is a good inexpensive semi-auto 22. Savage makes good inexpensive firearms. Just look at the different models before you choose one. There may be features that you prefer.