1. A method comprising: creating a database from predetermined objects; determining at least one user-specific inter-object internal order of the predetermined objects in the database; detecting a control command for starting control of a locking function; displaying a random subset of the predetermined objects on a display of a locking arrangement once the control command is detected; detecting the selection order of the displayed predetermined objects; and changing the lock state when the detected selection order differs, by a predetermined parameter, from a determined user-specific inter-object internal order.