Washington: Not every door opens, even for the powerful US President Barack Obama.

Obama temporarily found himself locked out of his Oval Office at the White House, soon after he returned from a five-day Latin America trip along with his family on Thursday.

The President ran into the unexpected trouble when he discovered that he could not open the door to the Oval Office from the outside.

White House staff members were apparently not told that Obama would be returning a few hours early and the door was locked.

A video from the press pool shows the first family exiting Marine One and then Obama striding up to French doors leading into the West Wing only to find them locked. A cool Obama continues walking nonchalantly and appears to be whistling also, until he finds a door that will open.

The video is making its rounds on the internet.

Obama's predecessor George W Bush too had confronted a locked door, but in another country. Bush had famously struggled with a set of locked doors after a press conference in the Chinese capital Beijing.