At this age, they still need a lot of attention. If you give him a toy eg. rattle, he would be able to entertain himself for a short period of time, provided you’re close by. Difficult for baby to play independently for long periods at such a young age
It’s tough, but if you put them in an enclosed area, they normally would.