A bear was found trapped inside a home, said the Truckee Police Department.

Officers responded to the home after the door closed behind the bear, trapping it inside.

Though the bear was freed without incident, police took to Twitter and through emojis relayed the message that people must make sure they lock their doors.