1. A method comprising: by a computing device, monitoring one or more sensors, wherein the computing device is in a locked state, and the computing device is associated with an authorized user of a social-networking system; by the computing device, in response to detecting input from at least one of the one or more sensors, determining, based on the input, whether an unlock operation is imminent; by the computing device, upon determining that the unlock operation is imminent: identifying, based on information associated with the authorized user, content to be downloaded from the social-networking system, and downloading the identified content from the social-networking system, wherein the identified content is stored for display after the computing device is unlocked; by the computing device, receiving a request to unlock the device, the request comprising authentication data and by the computing device, determining whether to exit the locked state based at least in part on the authentication data and data associated with the authorized user in the social-networking system.