A two-year-old boy locked himself in his house when his mum took some rubbish out to the bin.

The youngster managed to shut the door and turn the key at the property on Ackworth Street, West Bowling, today.

Fire crews from Odsal station were called to the scene at 2.30pm and got into the property through an open bathroom window before unlocking the door.

A spokesman from the station said the boy was trapped for about 15 minutes and was unharmed.