Locks functionality and real data recieving