Sleeping question

Alycia

My son won’t sleep in our room at night without us. We put him to bed between 7 and 8 and put him in the bassinet and 10 min later he is awake. When we pick him up he is sound asleep again. But when we go in there and layin the bed he is out until 2 or 3am. He is just about 4 weeks old. Any suggestions on how to break this habit if there is a way