Shovel operator opened door to enter lube room. Wind blew door closed. Door latch was inoperative. About 45 minutes later, maintenance personnel opened the door from the exterior using the outside latch. Believe the employee was ""entrapped"" inside room for about 45 minutes. Appears snow melt and freezing temperatures froze the latching mechanism.