Limit setting issues around bed are very common and manifest by "curtain calls" where your child keeps leaving the room. Every time they leave the room bring them back to bed with a minimum of fuss.
If your child is not in bed, close the door for one minute. If they are not in bed, close for two minutes. Keep doing this, increasing the interval, until they get the message.