The usual definition of a beginner "anything" includes the word "cheap" or "inexpensive". "Target" means "accurate", as in 1" 50 meter groups.
May I recommend the Marlin bolt like the 980, 981, 925, or if you like semi-autos, the 60. The Savage MKIIF or G (with Accutrigger) are also suitable. New or used, these rifles will fill both requirements. I like the tube-fed Marlin 981T and Winchester 190 semi-auto, but many like magazines. You can shoot iron sights or scopes with these choices, but make sure you can mount a scope easily before you buy a particular model as some do not come from the factory with mount grooves or drilled and tapped holes.
You can choose more expensive models, of course, but these are my picks for entry level 22 rifles.